Instalasi Apache 2.2 pada Microsoft Windows XP


Jalankan file instalasi









Ubah folder instalasi ke folder dalam partisi data supaya konfigurasinya ada dalam partisi data:









Berikut yang harus diedit di httpd.conf:

LoadModule rewrite_module modules/mod_rewrite.so

<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

<IfModule dir_module>
    DirectoryIndex index.html index.php index.htm
</IfModule>


#<FilesMatch "^\.ht">
#    Order allow,deny
#    Allow from all
#    Satisfy All
#</FilesMatch>

Include conf/extra/httpd-vhosts.conf

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "D:/php5/"
LoadModule php5_module "D:/php5/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Contoh pengisian  conf/extra/httpd-vhosts.conf:
Alias /phpmyadmin/ d:/phpmyadmin/
<VirtualHost *:80>
    #ServerAdmin webmaster@dummy-host.localhost
    DocumentRoot d:/proweb/web_proweb
    ServerName proweb
    #ServerAlias www.dummy-host.localhost
    #ErrorLog "logs/dummy-host.localhost-error.log"
    #CustomLog "logs/dummy-host.localhost-access.log" common
</VirtualHost>

Share |

Portfolio

www.wearnespc.comwww.solper.comwww.autojaya.comwww.intisolar.comsmartprint.co.idwww.ottopharm.comoliser.co.idAnd More ....

Livechat

  • LiveZilla Live Help

  • Aris G

  • Agus

  • Fazri

  • Rudi S

  • Bincar H

Address

PT. Proweb Indonesia
Perkantoran Duta Merlin No F4
Jl. Gadjah Mada 3-5
Jakarta Pusat

 

Phone : 021 - 2636 3170
     
Mobile : 0856 - 922 622 03
    0812 - 806 2772
    0816 - 180 8005
     
Fax : 021 - 633 5765
     
Web : www.proweb.co.id