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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
"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 |
|
|||
|
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 |