[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Apache rewrite question



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