Skip to main content

Drupal clean url virtual host



# Place any notes or comments you have here
# It will make any customisation easier to understand in the weeks to come

# domain: domain1.com
# public: /home/demo/public_html/domain1.com/

<VirtualHost *:80>

  # Admin email, Server Name (domain name) and any aliases
  ServerAdmin navin@cheapflysky.com
  ServerName  cheapflysky.com
  ServerAlias www.cheapflysky.com


  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.php
  DocumentRoot /var/www/html/cheapflysky.com
  <Directory /var/www/html/cheapflysky.com/>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride All
   Order allow,deny
   allow from all
</Directory>

  # Custom log file locations
  LogLevel warn
  ErrorLog /var/log/apache2/error-cheapflysky.com.log
  CustomLog /var/log/apache2/access-cheapflysky.com.log combined

</VirtualHost>

Comments