Alias different with Xampp 1.5.1 ?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Alias different with Xampp 1.5.1 ?

Postby MikeC » 07. February 2006 00:42

I used to have no problem, using httpd.conf Aliases, such as:

# tshirtshop Darie-Bucica book example
Alias /tshirtshop/ "C:/tshirtshop/"
Alias /tshirtshop "C:/tshirtshop"

Upon:
http://localhost/tshirtshop/index.php
I get a 403 error (Access forbidden ... client denied by server configuration), since trying Xampp 1.5.1.

I don't recall needing additional httpd.conf modifications for an Alias to work. Is there something new/additional required for http.conf Aliases with Xampp 1.5.1? ... like directory permissions?

btw, what XP User does Apache run under?

thanks,
MikeC
 
Posts: 3
Joined: 24. August 2005 02:50
Location: Westerly, RI

the reason

Postby MikeC » 07. February 2006 03:49

For the benefit of others ...

403 (Access forbidden) was resolved with an ... Allow from all ... in a <Directory/> tag, as follows:

<Directory "C:/aliasDirectory">
Allow from all
DirectoryIndex index.htm
</Directory>

However, when ... Order allow, deny ... was included in the <Directory/> tag, Apache would NOT re-start (via the "Xampp control panel application"). If anyone knows why, that would help ...

thanks,
MikeC
 
Posts: 3
Joined: 24. August 2005 02:50
Location: Westerly, RI

Postby SeanO » 08. February 2006 16:00

It was a typo
SeanO
 
Posts: 17
Joined: 31. January 2006 21:00

what was?

Postby MikeC » 08. February 2006 17:40

SeanO wrote:It was a typo


What was a typo?
MikeC
 
Posts: 3
Joined: 24. August 2005 02:50
Location: Westerly, RI

Postby Jose222 » 09. February 2006 11:36

I run on the exact same problem, and had it sorted the exact same way. Is there a new beta somewhere with whatever the typo is fixed?

I also have this problem when trying to install symfony in PEAR where I get a permission denied error to rename a file in the xampp php folder, rather than the php/pear folder, but it seems that's what the installation is supposed to do. Have you come across this problem? Could it be that the problem with the renaming has something to do with the security settings?

Thanks,

Jose
Jose222
 
Posts: 4
Joined: 26. January 2006 21:46


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests