the error says:
Virtualhost mysite.com has no server environment set, request will not be honoured
my vhost file is:
<VirtualHost *:80>
ServerName mysite.com
ServerAdmin web@mysite.com
DocumentRoot "/srv/d_servpa1/www/mysite.com/htdocs"
<Directory "/srv/d_servpa1/www/mysite.com/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
I have a bunch of URLs which all point to the same directory on the server in apache's conf files.
I've set up a few virtual hosts in Lion and it's running very slowly.
I want to offer custom subdomains for my customers.
I have a Django website where some of the URLs need to be served over HTTPS and some over a normal connection.
It's running on Apache and using WSGI.
Thought I would see if anyone can help with this apache2 set up running on ubuntu server 12.04.
I have set up my virtualhost files as:
<virtualHost *:80>
ServerAdmin webmaster@mysite.com
ServerName www.mysite.com
ServerAlias mysite.com
DocumentRoot /var/www/myfiles
</VirtualHost>
I have tried to reverse the Name and Alias but cannot connect using www.
I'm trying to simply rewrite:
http://www.example.com/home
to
http://www.example.com/home.php
I'm not using .htaccess, but setting rewrite rules in a vhost:
<VirtualHost *:80>
DocumentRoot /Users/me/Sites/mysite
ServerName mysite.air.local
RewriteEngine On
RewriteLog /var/log/apache2/rewrite.log
RewriteLogLevel 6
RewriteRule ^/home$ home.php
<Directory
Description
Now I have setup up a site in Apache using vhost.
I currently have WAMPSERVER 2.2 set up on my PC.
I'm trying to set up a new host called pplocal.local
I made the changes in httpd.conf to uncomment this:
Include conf/extra/httpd-vhosts.conf
Then, I edited httpd-vhosts.cong and I added the following:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot "E:/wamp2/www/"
ServerName localhost
</VirtualHost>
<Virtu