jordanwb Posted July 5, 2008 Share Posted July 5, 2008 I remember that I can do this but I don't remember how. I even remember showing someone else how to do this. What I want to do is this: /music: contains my music (duh) /var/www/music: shows everything that's in /music Quote Link to comment https://forums.phpfreaks.com/topic/113363-link-a-folder-into-another-folder/ Share on other sites More sharing options...
wildteen88 Posted July 5, 2008 Share Posted July 5, 2008 Something like: Alias /music/ "/music" <Directory "/music"> AllowOverride None Options Indexes Order allow,deny Allow from all </Directory> Add the above to your httpd.conf. Restart Apache. Access http://your-site.com/music Quote Link to comment https://forums.phpfreaks.com/topic/113363-link-a-folder-into-another-folder/#findComment-582421 Share on other sites More sharing options...
jordanwb Posted July 5, 2008 Author Share Posted July 5, 2008 When I put that in I get a 404 error. Quote Link to comment https://forums.phpfreaks.com/topic/113363-link-a-folder-into-another-folder/#findComment-582443 Share on other sites More sharing options...
wildteen88 Posted July 5, 2008 Share Posted July 5, 2008 Argh, its http://yoursite.com/music/ the / must be at the end of the url. Quote Link to comment https://forums.phpfreaks.com/topic/113363-link-a-folder-into-another-folder/#findComment-582450 Share on other sites More sharing options...
jordanwb Posted July 5, 2008 Author Share Posted July 5, 2008 I think I'll try and find my old topic. Quote Link to comment https://forums.phpfreaks.com/topic/113363-link-a-folder-into-another-folder/#findComment-582457 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.