Alias is not setting in httpd.conf

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Alias is not setting in httpd.conf

Postby qkhan » 25. December 2017 21:09

Hi,

I am facing 1 issue when adding this code into "httpd.conf" file and when i added this code APACHE server stopped running and once this whole code deleted from httpd.conf then APACHE server start running.

Please help me to understand whats wrong in this code as i am just copy paste from the PHP book.

</IfModule>

<IfModule alias_module>

Alias /tshirtshop "C:/tshirtshop"
</IfModule>
<Directory "C:/tshirtshop">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
qkhan
 
Posts: 1
Joined: 25. December 2017 21:04
Location: Jeddah
XAMPP version: 3.2.2
Operating System: Os 10

Re: Alias is not setting in httpd.conf

Postby Nobbie » 26. December 2017 11:21

You are beginning with an unbalanced /ifModule:

qkhan wrote:</IfModule>

<IfModule alias_module>

Alias /tshirtshop "C:/tshirtshop"
</IfModule>
<Directory "C:/tshirtshop">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>


Thats a severe error.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 41 guests