Forum Moderators: phranque
Options -Indexes Followsymlinks
This works, the directory now doesn't get listed (shows 403) but now the files in /public_html/cgi-bin will not execute! I added "ExecCGI" to the above line, but still the same, it keeps showing 403 even when I specify the exact CGI in the path.
So, my htaccess currently is:
Options -Indexes Followsymlinks ExecCGI
http://MYDOMAIN.com/cgi-bin/x.cgi
If I remove that Options line from my htaccess, this cgi file works. I have tried CHMODing the cgi-bin and the file differently, I then created a new htaccess inside the cgi-bin and allowed Options Indexes in there, but no go, still 403.
What am I to do?
You will discover that you have disabled all options except for FollowSymLinks in your first example by omitting the "+" or "-" signs on several arguments... :)
Options without "+" or "-" replace all other options settings, rather than adding or subtracting one or more settings from the current set.
Jim