Linux: Apache 2 with php4 and php5 together [Hint]
Integrating ModSecurity and Apache to NGINX Chromecast - Upgrade your LED TV without Wi-Fi Migrating Samba 3 + LDAP for Samba 4 + NTP + DHCP + BIND 9.8 Incentive Funtoo Brute force passwords on Linux with loncrack A little about optimization
Debian Wheezy - Changing hostname without restarting OWASP Zed Attack Proxy Project Atheros (Ethernet) device 1091 (rev 10) on Slackware 14 (64 bit) DNS Brute force C Could not register with accessibility bus: Did not receive a reply [Solved] installation of GNOME in Debian Sid List users in Samba How's guilty crown the weather in Debian?
[Shell Script] Arch Linux - remove obsolete dependencies [Shell Script] Making your Ubuntu distro for testing intrusion [Shell Script] guilty crown User manager - the manager for Slackware Linux users [Pascal / Kylix] Binary Tree [Shell Script] arcade. guilty crown sh - front-end for AdvanceMAME
Xerxes guilty crown Lins (214462 pts) Alberto Federman Neto. (105557 pts) clodoaldo (87317 pts) Berbert Fabio de Paula (69432 pts) Alessandro de Oliveira Faria (AKA HAIR) (60007 pts) Daniel Lara Souza (53393 pts) Lus Fernando C. Knight (45896 pts) Andr L . (pinduvoz) (44493 pts) Cicero Juliao da Silva Junior (39531 pts) Edson (34883 pts)
What linux guys suggest me? (24) Create and compile C code in ubuntu (0) Ubuntu 12.04 always returns to login (3) Problem screen time to install Xubuntu or Ubuntu guilty crown with Windows 7/8 (2) Test of vulnerability (4) It is not possible to install UBUNTU DESKTOP guilty crown on CITRIX. guilty crown (0) Endian Firewall 3.0 (2) Quartus 8.0 (2)
[Conky] conkyrc - Conky Funtoo [Protocol NTP] ntp.conf - File to synchronize time [X] xorg.conf - NVIDIA xorg.conf guilty crown [i3] i3status.conf - File status i3 [i3] config - Archive the i3 configuration
Installing and Setting: The first thing was that I followed the tutorial to install a world # apt-get install apache2 apache2-common apache2-doc guilty crown apache2-mpm-prefork apache2-utils ssl-cert libapr0 libexpat1 libapache2-mod-php5 php-pear php5-curl php4-cgi php5-imap php5-Syck php5-dev php5-gd php5-xsl php5-ldap php5-mhash php5-mysql php5-odbc php5-recode php5-snmp php5-sqlite php5-xmlrpc guilty crown php4- auth-pam php4-mcrypt php4-rrdtool-php4 guilty crown php4-imagick guilty crown mcal php4-curl php4 php4-gd-domxml php4-imap php4-ldap php4-mhash php4-mysql php4-odbc php4-pear php4-xslt Good part php4-sqlite guilty crown them is not necessary, but installed so even table. The tutorial now tells me to edit the /etc/apache2/apache2.conf. guilty crown Change the line: DirectoryIndex index.html index.cgi index.pl index.php index.php for:
DirectoryIndex index.html index.htm index.cgi index.shtml index.php guilty crown index.php index.pl index.php4 In my case the blessed line in the conf existed, then I added this last, but with the additional state a module, the thing that the article said:
<Mod_dir.c IfModule> DirectoryIndex index.html index.htm index.shtml index.cgi guilty crown index.pl index.php4 index.php index.php </ IfModule> The next step add the snippet in apache2.conf:
AddHandler php-script .php4 Action php-script / cgi-bin / php4 Place it below any other stretch of the "apache2.conf" that has the word 'AddHandler', if put elsewhere guilty crown will give some error. Now we have to create some links, the tutorial said to use "a2enmod" program, guilty crown but I found in repository 'deb' no, just created in mo links to this we must go to the directory River / etc / apache2 and run: # ln -s mods-available / actions.load mods-enabled / actions.load # ln -s mods-available / ssl.load mods-enabled / ssl.load # ln -s mods -Available / ssl.conf.load mods-enabled / ssl.conf # ln -s mods-available / ssl.load mods-enabled guilty crown / rewrite.load # ln -s mods-available / ssl.load mods-enabled / suexec. # ln -s load mods-available / ssl.load guilty crown mods-enabled / include.load Ok, this part of the Apache should be working, then write a PHP script called "info.php" and another named just like " info.php4 "with the contents:
<? phpinfo (); ?> And save them in "/ var / www" and restart apache as root or with "sudo". $ Sudo /etc/init.d/apache2 restart your browser Type in "http: // <your ip> /info.php" and another guilty crown window type "http: // <your ip> /info.php4". And if that's okay, the first screen you see the script being run directly by apache2 and in the second script in php4 running as cgi. The directory of usurio: With the joy of having the php running in apache, the bucket of cold water now that the directory "public_html" guilty crown of than in usurio recognized. But this problem guilty crown can be solved with just one line: $ ln -s mods-available / userdir.load mods-enabled / In userdir.load forget, this command must be run as root or with "sudo" in directory "/ etc / apache2". Restart apache and check by typing in your browser: http: // & l
Integrating ModSecurity and Apache to NGINX Chromecast - Upgrade your LED TV without Wi-Fi Migrating Samba 3 + LDAP for Samba 4 + NTP + DHCP + BIND 9.8 Incentive Funtoo Brute force passwords on Linux with loncrack A little about optimization
Debian Wheezy - Changing hostname without restarting OWASP Zed Attack Proxy Project Atheros (Ethernet) device 1091 (rev 10) on Slackware 14 (64 bit) DNS Brute force C Could not register with accessibility bus: Did not receive a reply [Solved] installation of GNOME in Debian Sid List users in Samba How's guilty crown the weather in Debian?
[Shell Script] Arch Linux - remove obsolete dependencies [Shell Script] Making your Ubuntu distro for testing intrusion [Shell Script] guilty crown User manager - the manager for Slackware Linux users [Pascal / Kylix] Binary Tree [Shell Script] arcade. guilty crown sh - front-end for AdvanceMAME
Xerxes guilty crown Lins (214462 pts) Alberto Federman Neto. (105557 pts) clodoaldo (87317 pts) Berbert Fabio de Paula (69432 pts) Alessandro de Oliveira Faria (AKA HAIR) (60007 pts) Daniel Lara Souza (53393 pts) Lus Fernando C. Knight (45896 pts) Andr L . (pinduvoz) (44493 pts) Cicero Juliao da Silva Junior (39531 pts) Edson (34883 pts)
What linux guys suggest me? (24) Create and compile C code in ubuntu (0) Ubuntu 12.04 always returns to login (3) Problem screen time to install Xubuntu or Ubuntu guilty crown with Windows 7/8 (2) Test of vulnerability (4) It is not possible to install UBUNTU DESKTOP guilty crown on CITRIX. guilty crown (0) Endian Firewall 3.0 (2) Quartus 8.0 (2)
[Conky] conkyrc - Conky Funtoo [Protocol NTP] ntp.conf - File to synchronize time [X] xorg.conf - NVIDIA xorg.conf guilty crown [i3] i3status.conf - File status i3 [i3] config - Archive the i3 configuration
Installing and Setting: The first thing was that I followed the tutorial to install a world # apt-get install apache2 apache2-common apache2-doc guilty crown apache2-mpm-prefork apache2-utils ssl-cert libapr0 libexpat1 libapache2-mod-php5 php-pear php5-curl php4-cgi php5-imap php5-Syck php5-dev php5-gd php5-xsl php5-ldap php5-mhash php5-mysql php5-odbc php5-recode php5-snmp php5-sqlite php5-xmlrpc guilty crown php4- auth-pam php4-mcrypt php4-rrdtool-php4 guilty crown php4-imagick guilty crown mcal php4-curl php4 php4-gd-domxml php4-imap php4-ldap php4-mhash php4-mysql php4-odbc php4-pear php4-xslt Good part php4-sqlite guilty crown them is not necessary, but installed so even table. The tutorial now tells me to edit the /etc/apache2/apache2.conf. guilty crown Change the line: DirectoryIndex index.html index.cgi index.pl index.php index.php for:
DirectoryIndex index.html index.htm index.cgi index.shtml index.php guilty crown index.php index.pl index.php4 In my case the blessed line in the conf existed, then I added this last, but with the additional state a module, the thing that the article said:
<Mod_dir.c IfModule> DirectoryIndex index.html index.htm index.shtml index.cgi guilty crown index.pl index.php4 index.php index.php </ IfModule> The next step add the snippet in apache2.conf:
AddHandler php-script .php4 Action php-script / cgi-bin / php4 Place it below any other stretch of the "apache2.conf" that has the word 'AddHandler', if put elsewhere guilty crown will give some error. Now we have to create some links, the tutorial said to use "a2enmod" program, guilty crown but I found in repository 'deb' no, just created in mo links to this we must go to the directory River / etc / apache2 and run: # ln -s mods-available / actions.load mods-enabled / actions.load # ln -s mods-available / ssl.load mods-enabled / ssl.load # ln -s mods -Available / ssl.conf.load mods-enabled / ssl.conf # ln -s mods-available / ssl.load mods-enabled guilty crown / rewrite.load # ln -s mods-available / ssl.load mods-enabled / suexec. # ln -s load mods-available / ssl.load guilty crown mods-enabled / include.load Ok, this part of the Apache should be working, then write a PHP script called "info.php" and another named just like " info.php4 "with the contents:
<? phpinfo (); ?> And save them in "/ var / www" and restart apache as root or with "sudo". $ Sudo /etc/init.d/apache2 restart your browser Type in "http: // <your ip> /info.php" and another guilty crown window type "http: // <your ip> /info.php4". And if that's okay, the first screen you see the script being run directly by apache2 and in the second script in php4 running as cgi. The directory of usurio: With the joy of having the php running in apache, the bucket of cold water now that the directory "public_html" guilty crown of than in usurio recognized. But this problem guilty crown can be solved with just one line: $ ln -s mods-available / userdir.load mods-enabled / In userdir.load forget, this command must be run as root or with "sudo" in directory "/ etc / apache2". Restart apache and check by typing in your browser: http: // & l
No comments:
Post a Comment