]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-example.net.conf
move .ht* and *~ access control to common conf where rest of access is configured
[packages/apache.git] / apache-example.net.conf
index ca6db3679831dd016f2f55290cd2345d6efd173e..c08629d732576ee0fabe33f64db380451638641c 100644 (file)
@@ -1,10 +1,23 @@
 # This is example config file for virtual host "example.net"
 
+# Redirect only vhost. Use permanent url for same resource.
 #<VirtualHost *:80>
-#    ServerName www.example.net
-#    ServerAlias example.net
-#    ServerAdmin webmaster@example.net
-#    DocumentRoot /home/services/vhosts/example.net
-#    ErrorLog logs/example.net-error_log
-#    TransferLog logs/example.net-access_log
+#      ServerAlias example.net
+#      RedirectPermanent / http://www.example.net
 #</VirtualHost>
+
+#<VirtualHost *:80>
+#      ServerName www.example.net
+#      ServerAdmin webmaster@example.net
+#      DocumentRoot /home/services/httpd/vhosts/example.net
+#      ErrorLog logs/example.net-error_log
+#      TransferLog logs/example.net-access_log
+#</VirtualHost>
+
+#<Directory "/home/services/httpd/vhosts/example.net">
+#  AllowOverride None
+#  Options None
+#  <IfModule mod_authz_host.c>
+#    Require all granted
+#  </IfModule>
+#</Directory>
This page took 0.029205 seconds and 4 git commands to generate.