re: virtualhost redirects to root on mobiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux