Hi,
Uncomment the following lines in httpd.conf (AMPPS Control Center -> Apache Tab -> Configuration):
Code AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Then create a new conf file say i.e Ampps\apache\conf\extra\extra.conf with the following contents : (CORRECT THE AMPPS PATH)
#### Localhost VirtualHost ####
NameVirtualHost 127.0.0.1:80
NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:80>
<Directory "C:\Program Files (x86)\Ampps/www">
Options FollowSymLinks Indexes Includes
AllowOverride All
Order deny,allow
allow from All
</Directory>
ServerName localhost
ServerAlias localhost 127.0.0.1
ScriptAlias /cgi-bin/ "C:\Program Files (x86)\Ampps/www/cgi-bin/"
DocumentRoot C:\Program Files (x86)\Ampps/www"
ErrorLog "C:\Program Files (x86)\Ampps/apache/logs/error.err"
CustomLog C:\Program Files (x86)\Ampps/apache/logs/access.log" combined
</VirtualHost>
###############################
Then open httpd.conf (AMPPS Control Center -> Apache Tab -> Configuration), find the line :
Code Include conf/extra/httpd-vhosts.conf
and prepend the following line above it :
Code Include conf/extra/extra.conf
So it will look like :
Code Include conf/extra/extra.conf
Include conf/extra/httpd-vhosts.conf
Restart Apache.
Edited by tidus : April 1, 2013, 2:12 pm
----------------------- Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook : http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
|