LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 04:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 04: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, 04:46 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
aww bless!
 
  


Reply



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 03:43 AM
Apache Alias questions xemous Linux - Networking 1 08-21-2005 08:04 AM
Apache: Alias is working on ssl vhost but not on mass vhost jonavogt Linux - Software 0 06-07-2005 02:05 PM
apache alias problem kausti Linux - Networking 3 11-06-2004 07:58 PM
Alias directive in Apache 1.3.22 mswebs Linux - Networking 2 08-01-2003 02:09 PM

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

All times are GMT -5. The time now is 05:30 AM.

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
Open Source Consulting | Domain Registration