httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Strike" <stri...@pacbell.net>
Subject [users@httpd] Alias not working with Apache2
Date Tue, 22 Apr 2003 08:43:59 GMT
I am running Apache2 on Redhat8. I am doing URL based virtual hosting with 5
web sites on the server.
I am trying to get the following alias to work:

<VirtualHost 192.168.0.3:80>
    Alias /WebCam /home/WebCam/webcam.jpg
    ServerName www..vertualwebsite.com
    DocumentRoot /var/www/html/virtualwebsite
    <Directory /home/WebCam>
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

When I try to access http://www.virtualwebsite.com/WebCam/webcam.jpg .  The
error shown in my "virtualwebsite_error" file is "File does not exist:
/home/www/html/virtualwebsite/WebCam/webcam.jpg"

What am I missing.
What would cause Apache to egnore an Alias statement.

Tom S.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message