ServerName www.website1.com DocumentRoot /home/rootweb/website1/www/ ErrorLog /var/log/apache2/website1/error.log CustomLog /var/log/apache2/website1/access.log combined ScriptAlias /cgi-bin/ /home/rootweb/website1/cgi-bin/ RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^admintech(.*) https://%{SERVER_NAME}/admintech$1 [R,L] Options Indexes MultiViews FollowSymLinks IndexOptions FancyIndexing SuppressDescription VersionSort IndexIgnore README.html AllowOverride All Order Allow,Deny Allow from all