[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Apache rewrite question
- Subject: [cobalt-developers] Apache rewrite question
- From: "Thomas" <tsanders.cobalt@xxxxxxxxxx>
- Date: Fri Sep 14 15:06:45 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I have been using the rewrite directives (listed below) in my httpd.conf
file with great success. BUT, I need to be able to place it into a .htaccess
file.
As it sits it does not work in .htaccess The idea being that I users can
drop this into an .htaccess file, and I dont have to muck with the
httpd.conf file or worse have the rule disappear later on.
Any ideas?
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/test/(.*)?$ https://%{SERVER_NAME}/test/$1 [L,R]
Thanks in advance.
-Thomas