Re: Alias directive not being honored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This may be a long shot, but have you tried getting rid of thetrailing slashes?  e.g.:
Alias /news /path/to/codebase/newsletters
--Victor
On 4/26/07, Nikolai Lusan <nikolai.lusan@xxxxxxxxxxx> wrote:> Greetings,>> Not sure if anyone has seen anything similar to this one ...>> I have a number of Alias directives in place to allow access to files in> a part of the filesystem outside the DocumentRoot. However one of these> has mysteriously stopped working and it is produceing 404 errors on the> alias under the webroot ...>> I have a setup like this in the VirtualHost>> DocumentRoot /path/to/codebase/public_html> Alias /news/ /path/to/codebase/newsletters/>>> When a request is made to http://mysite.com/news/filename.html the error> log is repoting:> File does not exist: /path/to/codebase/public_html/news>> The odd thing is that the Alias was working one morning then after some> changes to configuration (adding some mod_rewrite rules) this one Alias> out of and existing four ceased to function as designed. I have checked> permissions are still fine on the directory being pointed to, and it is> covered by a Directory directing in the upper level apache.conf file.> There are no conflicting rewrite rules or redirects that could be in> conflict with the Alias directive ....>> Does anyone have an idea what could be causing this issue?>> Running apache 2.0 on Debian Sarge.> --> Nikolai Lusan> Systems Administrator>> Hitwise Pty. Ltd.> Level 7 / 580 St Kilda Road> Melbourne, Victoria 3004> Australia> Phone: +61 3 8530 2400> Fax:  +61 3 9529 8907> www.hitwise.com.au> nikolai.lusan@xxxxxxxxxxx>>> Worldwide:  •  United States  •  United Kingdom  •  Australia  •  New> Zealand  •  Singapore  •  Hong Kong>> To subscribe to our complimentary monthly newsletter, visit:> http://www.hitwise.com.au/>> The information transmitted may be confidential, is intended only for> the person to which it is addressed, and may not be reviewed,> retransmitted, disseminated or relied upon by any other persons. If you> received this message in error, please contact the sender and destroy> any paper or electronic copies of this message. Any views expressed in> this email communication are those of the individual sender, except> where the sender specifically states otherwise. Hitwise does not> represent, warrant or guarantee that the communication is free of>> ---------------------------------------------------------------------> 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@xxxxxxxxxxxxxxxx>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx>>

-- http://www.victortrac.com

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux