diff --git a/install/rhel/templates/web/httpd/basedir.stpl b/install/rhel/templates/web/httpd/basedir.stpl
new file mode 100755
index 00000000..2ddffdcd
--- /dev/null
+++ b/install/rhel/templates/web/httpd/basedir.stpl
@@ -0,0 +1,41 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ DocumentRoot %sdocroot%
+ ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ #SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride All
+ SSLRequireSSL
+ Options +Includes -Indexes +ExecCGI
+ php_admin_value open_basedir %docroot%
+
+
+ AllowOverride All
+
+ SSLEngine on
+ SSLVerifyClient none
+ SSLCertificateFile %ssl_crt%
+ SSLCertificateKeyFile %ssl_key%
+ %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
+
+
+ RMode config
+ RUidGid %user% %group%
+ RGroups apache
+
+
+ AssignUserID %user% %group%
+
+
+ Include %home%/%user%/conf/web/shttpd.%domain%.conf*
+
+
+
diff --git a/install/rhel/templates/web/httpd/basedir.tpl b/install/rhel/templates/web/httpd/basedir.tpl
new file mode 100755
index 00000000..c821ad35
--- /dev/null
+++ b/install/rhel/templates/web/httpd/basedir.tpl
@@ -0,0 +1,35 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ DocumentRoot %docroot%
+ ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ #SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride All
+ Options +Includes -Indexes +ExecCGI
+ php_admin_value open_basedir %docroot%
+
+
+ AllowOverride All
+
+
+
+ RMode config
+ RUidGid %user% %group%
+ RGroups apache
+
+
+ AssignUserID %user% %group%
+
+
+ Include %home%/%user%/conf/web/httpd.%domain%.conf*
+
+
+