LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2005, 01:17 PM   #1
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Rep: Reputation: 15
Apache Alias isn't working


Hi all,

I am trying to add an alias that will allow me to view Webalizer statistics from the Web.

I added this to my httpd.conf:

Code:
#
# Webalizer usage statistics page
#
Alias /usage/ "/var/www/usage/"

<Directory "/var/www/usage">
        AllowOverride All
        Options None
        Order allow,deny
        Allow from ALL
</Directory>
However, this is what I get when I try to restart apache after the change:

Code:
Starting httpd: [Mon Mar 07 13:10:53 2005] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 530 will probably never match because it overlaps an earlier Alias.
and I get a 403 Forbidden message saying I don't have permission to access usage/index.html

I don't know where the "overlap" is. The only other alias is my ScriptAlias pointing to my cgi-bin folder.


Can anyone help me??
 
Old 03-07-2005, 05:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
does your apache installation use multiple configuration files all #included into httpd.conf? check all the contents of /etc/httpd/conf.d/ or such like. It's kinda hard to ignore an error message so impresively explicit as that one. tried just using a different name?
 
Old 03-07-2005, 05:34 PM   #3
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Original Poster
Rep: Reputation: 15
Incredible. You are my hero. I had never even conceived of trying a different name for the alias. And it worked!!!

Thanks!
 
Old 03-07-2005, 05:46 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
aww bless!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias not working tofani Linux - General 7 11-29-2005 04:43 AM
Apache Alias questions xemous Linux - Networking 1 08-21-2005 09:04 AM
Apache: Alias is working on ssl vhost but not on mass vhost jonavogt Linux - Software 0 06-07-2005 03:05 PM
apache alias problem kausti Linux - Networking 3 11-06-2004 08:58 PM
Alias directive in Apache 1.3.22 mswebs Linux - Networking 2 08-01-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration