httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil <p...@philfixit.info>
Subject [users@httpd] re: virtualhost redirects to root on mobiles
Date Sun, 02 Feb 2014 00:05:44 GMT
I tried that.  I'm including the actual config file in sites-available 
if it helps.

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName morebearsmore.com <http://morebearsmore.com>
         ServerAlias www.morebearsmore.com <http://www.morebearsmore.com>

DocumentRoot /var/www/morebearsmore.com/public_html 
<http://morebearsmore.com/public_html>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

I'm new to apache but I always specify the directory in the block. Yours 
points to the default /var/www/ which would show the default apache 'it 
works' page. Try
/var/www/example.com <http://example.com>/ or in your case

<Directory /var/www/morebearsmore.com/public_html/>

Then again maybe this has nothing to do with it . . .

-- 

Kind Regards
Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message