When I replaced xampp 1.7 with 1.8.1, I stopped the service, backed up and deleted the directory and unzipped the new xampp to C:\xampp\
I then copied the below Alias code into C:\xampp\apache\conf\httpd.conf
I started the services using xampp-control.exe
The xampp localhost page works fine. Status shows MySQL, PHP, HTTPS CGS and SSI activated. PHPinfo also works.
Now accessing alias directory gets 403 error - access forbidden.
http://localhost/MyWebs/
Below is the alias code I copied from the 1.7 version httpd.conf file into the new version:
- Code: Select all
Alias /MyWebs "C:/Users/tc/Documents/My Webs"
<Directory "C:/Users/tc/Documents/My Webs">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
I read where people are recommended to set up virtualhost? Is this what I should do? How?
xampp is installed in - C:\xampp\
I used zip extraction (i.e. not installer). Running Win-7 64 bit. The C++ 32-bit library is installed.
thanks for any help,
Tom