Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Need help with a .htaccess
New Posts  All Forums:Forum Nav:

Need help with a .htaccess

post #1 of 5
Thread Starter 
Ok on a site that i know of if you go to the subdomain stuff.radthorne.com if gives a page that lists all of the files and folders basically i am looking to create a subdomain on my site with the same feature how do i do this as Google is no help but i think i am entering the wrong search information.



Thanks Matthew
Edited by matteymoo2 - 4/16/13 at 3:20pm
post #2 of 5
Quote:
Originally Posted by matteymoo2 View Post

Ok on a site that i know of if you go to the subdomain stuff.radthorne.com if gives a page that lists all of the files and folders basically i am looking to create a subdomain on my site with the same feature how do i do this as Google is no help but i think i am entering the wrong search information.



Thanks Matthew

Create an .htaccess file (if you don't already have one) and add this to it -

Options +Indexes


don't forget to chmod .htaccess to 744 so it's still readable smile.gif
post #3 of 5
Thread Starter 
Quote:
Originally Posted by Broseidon 
Create an .htaccess file (if you don't already have one) and add this to it -

Options +Indexes


don't forget to chmod .htaccess to 744 so it's still readable



How would i get the icons to work?
Edited by matteymoo2 - 4/16/13 at 4:24pm
post #4 of 5
Thread Starter 
Never mind found it thanks
post #5 of 5
You're better off putting the Options +Indexes in your vhost config rather than .htaccess file (which, in my opinion are massively overused).
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Need help with a .htaccess