Discussion:
Theme/Admin problems after VHost
(too old to reply)
DDC MUSC
2014-04-29 15:01:20 UTC
Permalink
I need to run several wp sites on the same server, single nic, routed by virtual host

Server is:
WP 3.8 on Redhat

httpd.conf is:
Listen 80
DocumentRoot "/var/www/html"
ServerName 128.23.34.205:80
NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /var/www/html/panc
ServerName episodstudy.org
ServerAlias www.episodstudy.org
</VirtualHost>
Enabled virtual host on Apache2. Created three hosts that do point to the correct WP directory, but no themes, and unable to access the admin pages.

Thanks for your assistance.
Harry
yamo'
2014-04-30 08:22:10 UTC
Permalink
Hi,
Post by DDC MUSC
Enabled virtual host on Apache2. Created three hosts that do point to the correct WP directory, but no themes, and unable to access the admin pages.
Thanks for your assistance.
Harry
Is there an .htaccess somewhere?
--
Stéphane <http://pasdenom.info/fortune/?>
Les avions sont des jouets sans aucune valeur militaire.
-+- Maréchal Foch (1851-1929) -+-
Aaron Gray
2014-08-18 21:25:12 UTC
Permalink
Post by DDC MUSC
I need to run several wp sites on the same server, single nic, routed by virtual host
WP 3.8 on Redhat
Listen 80
DocumentRoot "/var/www/html"
ServerName 128.23.34.205:80
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/panc
ServerName episodstudy.org
ServerAlias www.episodstudy.org
</VirtualHost>
Enabled virtual host on Apache2. Created three hosts that do point to the correct WP directory, but no themes, and unable to access the admin pages.
Try adding the <Directory> "element" below :-

<VirtualHost *:80>
DocumentRoot /var/www/html/panc
ServerName episodstudy.org
ServerAlias www.episodstudy.org

<Directory "/var/www/html">
allow from all
Options +Indexes
AllowOverride All
</Directory>
</VirtualHost>

If that works read up on it in the Apache documentation.

Hope that works,

Aaron

Loading...