Jump to content

sym links


map200uk

Recommended Posts

Hi,

 

i have been creating sym links, for my little project and im now having problems accessing them?

 

You don't have permission to access /test/phpdb/mp3 on this server.

Apache/2.2.4 (Unix) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 Server at clark.ee. Port 80

 

user nobody has permission to all directories in htdocs, the symlinks are stored ion /opt/lampp/htdocs/mp3

 

 

Link to comment
https://forums.phpfreaks.com/topic/50172-sym-links/
Share on other sites

ive half solved it

 

when the directories are scanned if a link is not already present a symlink is created in the storage directory /opt/htdocs/mp3 (contains all the symlinks)

 

however, this is then written to the database as the path i.e. /opt/htdocs/mp3/moo.mp3

 

and echoed out as the same, when i need to make it either a full url i.e. http://localhost/mp3/bla.mp3

 

or somehow make it a symlink?

 

does anyone have any suggestions

 

thanks for all the help so far guys=]

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/50172-sym-links/#findComment-246366
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.