This is a discussion on What is wrong with this .htaccess code? within the Apache Web Server forums, part of the Web Server and Related Forums category; #Appended to .htaccess after frontpage extensions: RewriteEngine on RewriteOptions inherit # Exclude calls from Dock.shtml, airlock*.shtml, # Corridor.htm, index....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
#Appended to .htaccess after frontpage extensions:
RewriteEngine on RewriteOptions inherit # Exclude calls from Dock.shtml, airlock*.shtml, # Corridor.htm, index.shtml, & Defualt.shtml RewriteRule ^.*_go\.pl$ RewriteRule ^Dock.*\.shtml$ RewriteRule ^airlock*.*\.shtml$ RewriteRule ^Corridor.*\.shtml$ RewriteRule ^index.*\.shtml$ RewriteRule ^default.*\.shtml$ # Rewrite everything to Dock.shtml RewriteRule ^(.*)$ Dock.shtml [L] #End .htaccess append Why is there an error 500 on all attempts to load a page while this configuration is present? How can I fix it up to work properly? I am using an SSI to pick up the rewrite: <!--#include virtual="$REQUEST_URI" --> This is inserted on a blank page That is called by a frame Within a frames page That is called by an inline frame On the Dock.shtml page targetted by the .htaccess above (Two tier design) Could this depth of nesting be a problem??? Thanks in advance.... =~= Timothy Casey South Australia worloq@iprimus.com.au Formerly: casey@smart.net.au Phenomenal Speed Comprehension: Discover the World's most advanced speed reading application at: http://www.fieldcraft.biz/shop/ |
|
|||
|
Timothy Casey <worIoq@iprimus.com.au> wrote:
> Why is there an error 500 on all attempts to load a page while this > configuration is present? How can I fix it up to work properly? What's in the error_log file? Davide -- | In Lexington, Kentucky, it's illegal to carry an ice cream cone in | your pocket. | | |