By roleychiu on
My Clean URLs seems to work, but the only way i'm able to do it is if I enable Options Indexes in my .htaccess file. Can anyone recommend a solution to this? I dont' want people browsing my folder files.
By default, drupal's pre-packaged .htaccess file sets Options -Indexes, which effectively prevents browsing of folders and directories through your browser.
How do i get clean urls to work without turning on directory indexing? please help!
Comments
There should be no connection
There should be no connection between
Options Indexesand theRewriteRulethat drives clean-urls.Though you do need
DirectoryIndex index.phpYou've probably hit a syntax issue in your .htaccess modifications that is having a faulty side-effect.
Are you enabling indexes explicitly or just commented out the line you think is a problem?
.dan. is the New Zealand Drupal Developer working on Government Web Standards