LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-02-2007, 09:51 AM   #1
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 38
Apache Problem - Aliases


Here is my setup inside httpd.conf:

alias /sabastor "/sabastor/"
<Directory "/sabastor">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

AND:

<Directory />
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Permissions for /sabastor on the file system are as follows:

drwxrwxrwx 9 dbbenson sabadmin 4096 Feb 2 10:11 sabastor/

After making the changes and restarting Apache, I try to pull up my url: http://fakeurl.dom/sabator/ and I get a an error message saying:

Forbidden
You don't have permission to access /sabastor/NetTestCompleted/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Anyone know how I can see my subdirectories under 'sabastor' ?

Thanks,

Harlin Seritt
 
Old 02-02-2007, 10:06 AM   #2
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
Quote:
Originally Posted by Harlin
Here is my setup inside httpd.conf:

alias /sabastor "/sabastor/"
<Directory "/sabastor">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

AND:

<Directory />
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Permissions for /sabastor on the file system are as follows:

drwxrwxrwx 9 dbbenson sabadmin 4096 Feb 2 10:11 sabastor/

After making the changes and restarting Apache, I try to pull up my url: http://fakeurl.dom/sabator/ and I get a an error message saying:

Forbidden
You don't have permission to access /sabastor/NetTestCompleted/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Anyone know how I can see my subdirectories under 'sabastor' ?

Thanks,

Harlin Seritt
Can you try to do one change as mentioned below?

instead of alias /sabastor "/sabastor/" try

alias /sabastor/ "/sabastor/"

Hope it helps,
Rahul.
 
Old 02-02-2007, 11:53 AM   #3
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 38
Still getting the same issue... also, I don't know if this has anything to do with it or not but /sabastor is actually on a different device. Would this make a difference or is there anything someone could see that I'm leaving out?

Thanks,

Harlin Seritt
 
Old 02-02-2007, 02:29 PM   #4
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
Are you able to open any of the directory aliases? There are some default aliases provided by apache like "/icons" etc.

Also what do you mean by "different device" ? Is it a mounted partition or you are reffering to something else here?
 
Old 02-02-2007, 05:26 PM   #5
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 38
To the first question, YES

To the second one:

We have a mounted scsi drive for this (btw ... this is installed from within vmware).

Thanks,

Harlin Seritt
 
  


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
sendmail and NIS databases (aliases, mail.aliases) - what kind of databases? cotton213 Linux - Software 0 03-14-2006 05:57 PM
Multiple aliases in apache 1.3.33 mdcapt Linux - Networking 1 02-12-2006 07:07 AM
postfix and mysql aliases problem paintcheck200 Linux - Networking 0 01-06-2005 09:22 PM
eth aliases problem Alexandre-BR Debian 1 10-21-2004 07:16 PM
Apache and aliases nuzzy Linux - Software 6 08-05-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:06 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