httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietmar.Muel...@eurotours.at
Subject [users@httpd] Antwort: [users@httpd] Alias not working with Apache2
Date Tue, 22 Apr 2003 09:03:29 GMT

If you look at
http://httpd.apache.org/docs/mod/mod_alias.html#alias
you can see that the module work with directory-path and not with
path and file.

Use Alias /WebCam /home/WebCam/ instead.

Dietmar





"Thomas Strike" <striket@pacbell.net> am 22.04.2003 10:43:59

Bitte antworten an users@httpd.apache.org

An:    "Apache mail list" <users@httpd.apache.org>
Kopie:
Thema: [users@httpd] Alias not working with Apache2


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








---------------------------------------------------------------------
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