![]() |
|
#1
|
|||
|
|||
Fallowing symbolic links to files.Just switched my server from RedHat 9 to Gentoo. I am running Apache 2.0.48. I was able to get all services running in Gentoo except Apache. The main part of the Apache web hosting is running but my back doors are not. I can get just fine to localhosts, but I am unable to get to localhosts Foo is a symbolic link that has been placed in my Apache directory (/home/www/html/foo). Foo happens to point at ¡§foo „³ /home/public¡¨. On my old RedHat server, Apache would display the contents of /home/public when I went to localhosts Now all I get is a ¡§You are not authorized to view this page¡¨
Any ideas?? -DingbatCA |
|
#2
|
||||
|
||||
|
I had the same problem my self, fixed it with this:
Code:
If that doesn't work you can try removing the "IfOwnerMatch" part atleast that worked for me |
|
#3
|
|||
|
|||
No luckCurrently i have a test link set up going from /homw/www/html to /tmp. I figured every one could get to tmp. I still get the "You are not authorized to view this page" in IE or "forbidden" in Konqueror. I placed the
<Directory /home/www/html> Options SymLinksIfOwnerMatch </Directory> in my apache2.conf file and had no luck. Any other ideas?? |
|
#4
|
||||
|
||||
|
I think this will work...
just checked the docs Code:
it might not work with /tmp as it is owned by root |
|
#5
|
|||
|
|||
No luck.I added the values to apache2.conf, restarted apache, and made a new symlink to /home/public. Changed the owner to me, not root. same problem. Any other ideas??
|
|
#6
|
||||
|
||||
|
hmmm...
and what if you just do Options All and if that doesn't work you might want to check if your symlinks are actually working. I've tested all those options on my box (Debian, apache 1.3.29) and it works fine |
|
#7
|
|||
|
|||
|
I have my symlinks running just fine in apache 1.3. its with apache 2.0.48 that i am having problems; even with the "All" option.
Thats it! Im done fighting with this. downgrading to apache 1.3.29 |
Recent GIDBlog
Developing GUIs with wxPython (Part 2) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gxx linker accepts only 7 object files | danielxs66 | C++ Forum | 1 | 12-Dec-2003 09:27 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The