Re: [SLUG] Alias my Loopback?

From: Russ Wright (rwrigh10@tampabay.rr.com)
Date: Fri Jun 06 2003 - 11:10:48 EDT


Okay it works now!

I had to reboot the machine.. (silly me) And adjust a few lines in the
http.conf but now it all works...

Thanks for all your help!
Regards
Russ

On Fri, 2003-06-06 at 10:04, Russ Wright wrote:
> OOPS!
>
> Sent the wrong one... Here are the real files:
> I still didn't do it right because I get connection refused when I
> attempt to connect.
>
> httpd.conf:
> --------------
> #
> # Use name-based virtual hosting.
> #
> NameVirtualHost 127.0.0.1
>
> # Where do we put the lock and pif files?
> LockFile "/var/lock/httpd.lock"
> CoreDumpDirectory "/etc/httpd"
>
> # Defaults for virtual hosts
>
> # Logs
>
> #
> # Virtual hosts
> #
>
> # Virtual host Default Virtual Host
> <VirtualHost *>
> ServerName localhost
> ServerSignature email
> DirectoryIndex index.php index.html index.htm index.shtml
> ServerSignature email
> LogLevel warn
> HostNameLookups off
> </VirtualHost>
>
> # Virtual host arias.localhost
> <VirtualHost 127.0.0.1>
> DocumentRoot /var/www/html/arias
> ServerAdmin webmaster@localhost.com
> ServerName www.arias.localhost.com
> ServerSignature email
> DirectoryIndex index.php index.html index.htm index.shtml
> ServerSignature email
> </VirtualHost>
>
> # Virtual host nola.localhost
> <VirtualHost 127.0.0.1>
> DocumentRoot /var/www/html/nola
> ServerAdmin webmaster@localhost.com
> ServerName www.arias.localhost.com
> ServerSignature email
> DirectoryIndex index.php index.html index.htm index.shtml
> ServerSignature email
> </VirtualHost>
>
>
> # Virtual host webruss.localhost
> <VirtualHost 127.0.0.1>
> DocumentRoot /var/www/html/webruss
> ServerAdmin webmaster@localhost.com
> ServerName www.arias.localhost.com
> ServerSignature email
> DirectoryIndex index.php index.html index.htm index.shtml
> ServerSignature email
> </VirtualHost>
>
> -----------
>
> hosts file:
>
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
> 127.0.0.1 www.arias.localhost.com arias
> 127.0.0.1 www.nola.localhost.com nola
> 127.0.0.1 www.webruss.localhost.com webruss
>

-- 
Russ Wright <rwrigh10@tampabay.rr.com>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:18:00 EDT