Forum Moderators: phranque

Message Too Old, No Replies

creating aliases with apache 2.0.49

         

amirsamy

7:26 pm on Jun 19, 2004 (gmt 0)

10+ Year Member



Hi, i'm trying to configure apache 2.0.49.
I have a small problem with aliasing.

I wanted to create the following alias

Alias /maged/ "/usr/local/apache2/htdocs/maged"
<Directory "/usr/local/apache2/htdocs/maged">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

when i try to write in my address bar: [localhost...]

I get a 404 not found error.

What is it due to?

amirsamy

7:27 pm on Jun 19, 2004 (gmt 0)

10+ Year Member



I forgot to mention that i put this in my httpd.conf file, and i dont know exactly what the <directory...> directive does.

outrun

5:13 am on Jun 20, 2004 (gmt 0)

10+ Year Member



Is the maged folder under your documentroot? Then it doesn't have to be an alias. You only have to set an Alias if the folder is not under documentroot.

The directory directive allows you to put protection schemes onto your directory.

regards,
Mark