Symbolic Links Not Working

This is a discussion on Symbolic Links Not Working within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm having a problem with a symbolic link within htdocs not working. I get a 404 page not found ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-05-2004
BT
 
Posts: n/a
Default Symbolic Links Not Working

I'm having a problem with a symbolic link within htdocs not working. I get a
404 page not found error. The link works properly within the OS (openbsd),
just not through apache. The entry for htdocs directory looks like this:

<Directory /var/www/htdocs>
Options FollowSymLinks
AllowOverride None
</Directory>

Does anyone have an idea if there's something obvious I'm overlooking?




  #2 (permalink)  
Old 11-05-2004
Davide Bianchi
 
Posts: n/a
Default Re: Symbolic Links Not Working

On 2004-11-05, BT <> wrote:
> with a symbolic link within htdocs not working. I get a
> 404 page not found error.


Did you checked the error log? does the directory has all the
required permissions?
Davide

--
Windows 2000: Designed for the Internet.
The Internet: Designed for UNIX.
-- From a Slashdot.org post
  #3 (permalink)  
Old 11-05-2004
BT
 
Posts: n/a
Default Re: Symbolic Links Not Working

The error log just has a "File does not exist". The permissions appear to be
correct also.


"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:slrncondqr.154.davideyeahsure@fogg.onlyforfun .net...
> On 2004-11-05, BT <> wrote:
> > with a symbolic link within htdocs not working. I get a
> > 404 page not found error.

>
> Did you checked the error log? does the directory has all the
> required permissions?
> Davide
>
> --
> Windows 2000: Designed for the Internet.
> The Internet: Designed for UNIX.
> -- From a Slashdot.org post



  #4 (permalink)  
Old 11-06-2004
Erik
 
Posts: n/a
Default Re: Symbolic Links Not Working

On Fri, 5 Nov 2004 12:20:17 -0500, "BT" <pangean> wrote:

>I'm having a problem with a symbolic link within htdocs not working. I get a
>404 page not found error. The link works properly within the OS (openbsd),
>just not through apache. The entry for htdocs directory looks like this:
>
><Directory /var/www/htdocs>
> Options FollowSymLinks
> AllowOverride None
></Directory>
>
>Does anyone have an idea if there's something obvious I'm overlooking?
>
>
>


I use it the same way you do, for a certain dir, but I do not use the
AllowOverride None line ...
maybe try without it ?

And where does the link point to ? somewhere within htdocs ?
not sure if you can have it point to, say, /etc/httpd or so...


frgr
Erik
  #5 (permalink)  
Old 11-06-2004
HansH
 
Posts: n/a
Default Re: Symbolic Links Not Working


"Erik" <et57 at correos calor dot com> schreef in bericht
news:t6lpo01v9p23p10ejldsv0pekg5snundne@4ax.com...
> On Fri, 5 Nov 2004 12:20:17 -0500, "BT" <pangean> wrote:
> >I'm having a problem with a symbolic link within htdocs not working. I

get a
> >404 page not found error.

A 404 makes me think Apache still ignores the link ...

> > The link works properly within the OS (openbsd),
> >just not through apache. The entry for htdocs directory looks like this:
> ><Directory /var/www/htdocs>
> > Options FollowSymLinks
> > AllowOverride None
> ></Directory>

Is this in server configuration, a virtual host block -do you have any- or
..htaccess?

> I use it the same way you do, for a certain dir, but I do not use the
> AllowOverride None line ...

That only controls to what extend any setting can be overriden by .htaccess.

If symlinks are somehow disabled for Apache, try aliassing that folder or
file
http://httpd.apache.org/docs-2.0/mod...ias.html#alias
Alliassing will solve issues with FTP clients potentionally looping symbolic
loops too.

HansH


  #6 (permalink)  
Old 11-09-2004
Erik
 
Posts: n/a
Default Re: Symbolic Links Not Working

On Sat, 6 Nov 2004 16:03:04 +0100, "HansH" <hans@niet.op.het.net>
wrote:

>
>"Erik" <et57 at correos calor dot com> schreef in bericht
>news:t6lpo01v9p23p10ejldsv0pekg5snundne@4ax.com.. .
>> On Fri, 5 Nov 2004 12:20:17 -0500, "BT" <pangean> wrote:
>> >I'm having a problem with a symbolic link within htdocs not working. I

>get a
>> >404 page not found error.

>A 404 makes me think Apache still ignores the link ...
>
>> > The link works properly within the OS (openbsd),
>> >just not through apache. The entry for htdocs directory looks like this:
>> ><Directory /var/www/htdocs>
>> > Options FollowSymLinks
>> > AllowOverride None
>> ></Directory>

>Is this in server configuration, a virtual host block -do you have any- or
>.htaccess?
>


I do not use .htaccess anywhere: it's all httpd.conf


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0