This is a discussion on "Symbolic Links are kicking my butt!" within the PHP Forum section. This forum, and the thread "Symbolic Links are kicking my butt! are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Symbolic Links are kicking my butt!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Symbolic Links are kicking my butt!
Please help! I'm losing my mind on this!!!
Here's my code for creating a symlink:
Symlinks are there... Target files are there... Path is correct in href... Seems like everything should work...!?!? If it helps solve the mystery, this code (for cleaning up symlinks) doesn't work, either. (The symlinks don't get deleted.)
|
|
|
|
|||
|
Re: Symbolic Links are kicking my butt!
What are your Apache options set to in httpd.conf? Have you set SymLinksIfOwnerMatch or FollowSymLinks on, or set All?
See the Options directive under http://httpd.apache.org/docs/2.0/mod/core.html for a full description. |
|
|||
|
Re: Symbolic Links are kicking my butt!
I don't think I have access to any of that. (Hosting via 1and1.com.)
The good news is, I switched to hard links and now everything is working. Still curious about why link() works, but symlink() doesn't, though. Thanks for the response, grahame! |
|
|||
|
Re: Symbolic Links are kicking my butt!
There is a security issue with Symlinks which can provide a route through which unexpected areas of the computer's file systems can be served when adminstered by a web admin whos' unaware. Hard links aren't as flexible in how they graft different parts of the file system. On 1and1, the bigger accounts / setups (e.g. dedicated servers) do give you control, but I don't thinks the basic one do.
|
|
||||
|
Re: Symbolic Links are kicking my butt!
Donny - What OS does your server use?
|
|
|||
|
Re: Symbolic Links are kicking my butt!
It's some flavor of Linux, not sure which distro or version. My account doesn't include shell access, so I suppose I'd have to inquire of their support department. In light of recent (horrific) experiences with them, it would not be worth the headache to do so.
|
![]() |
| Tags |
| symbolic links, symlink, symlinks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PR4 links for sale...links in an excellent position | agent14 | Link Building and Link Sales | 1 | Mar 5th, 2007 21:33 |
| The Water Butt Shop | hart084 | Free Web Site Critique | 2 | Jan 29th, 2007 12:16 |
| Kicking myself... hard! | Pherdnut | Introduce Yourself | 9 | Nov 19th, 2006 06:01 |
| Blured Links (image links) | bruno89 | Web Page Design | 2 | Jul 25th, 2006 14:48 |
| Different coloured links without modifying links? | Webforumz Staff | Web Page Design | 12 | Aug 29th, 2003 18:48 |