Forum Moderators: phranque

Message Too Old, No Replies

Alias problem in Apache-Windows

         

Uzbeki

7:36 pm on Jun 29, 2005 (gmt 0)

10+ Year Member



I have two different harddrives that Im trying to use on my apache server. The first one is under /wwwroot/ but the second one I will have to "mount" via Alias. I have yet to succeed with this. I only get a "page could not be found...". Anyone has any idea on what might be wrong here? Is there any other easy solution to this?

This is my httpd.conf:

Alias /prem/139/ "H:/webroot/htdocs/webroot/"

<Directory "H:/webroot/htdocs/webroot">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Uzbeki

7:51 pm on Jun 30, 2005 (gmt 0)

10+ Year Member



No one have an answer for this? :/
Maybe someone can help me with a mod_rewrite solution instead?

jdMorgan

12:42 am on Jul 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Uzbeki,

Welcome to WebmasterWorld!

Since you are on Windows, you might want to try using a valid Windows filepath:


Alias /prem/139 H:\webroot\htdocs\webroot

Also, see the note in the documentation for the Alias directive [httpd.apache.org]:

In particular, if you are creating an Alias to a directory outside of your DocumentRoot, you may need to explicitly permit access to the target directory.

Jim