[root@linux ~]# vi /etc/httpd/conf/httpd.conf
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog "logs/rewrite_log"
RewriteLogLevel 0
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/hogehoge/(.*)?$ https://%{HTTP_HOST}/hogehoge/$1 [L,R]
RewriteRule ^/cgi-bin/hogehoge.cgi(.*)?$ https://%{HTTP_HOST}/cgi-bin/hogehoge.cgi [L,R]
</IfModule>
|