What is wrong with this .htaccess code?

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....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2004
Timothy Casey
 
Posts: n/a
Default What is wrong with this .htaccess code?

#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/


  #2 (permalink)  
Old 05-24-2004
Davide Bianchi
 
Posts: n/a
Default Re: What is wrong with this .htaccess code?

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.
|
|
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0