LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache Problem - Aliases (https://www.linuxquestions.org/questions/linux-server-73/apache-problem-aliases-524989/)

Harlin 02-02-2007 09:51 AM

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

rahulk 02-02-2007 10:06 AM

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.

Harlin 02-02-2007 11:53 AM

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

rahulk 02-02-2007 02:29 PM

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?

Harlin 02-02-2007 05:26 PM

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


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