Re: apache config wows

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: keith smith
Date:  
To: Main PLUG discussion list
Subject: Re: apache config wows
Interesting idea.

I finally got it working. My Directives were revered.
Server needed to be first.

--- Craig White <> wrote:

> On Fri, 2006-10-27 at 07:23 -0700, keith smith
> wrote:
> >
> > Hi Again!
> >
> > Ok so it has been a long time since I configured
> > Linux, Apache ETC.
> >
> > Back to my AMD500 server. It had 384RAM and it is
> a
> > dev sever for PHP/MySql and hopefully AJAX.
> >
> > Fedora Core 5.
> >
> > I have a private net 192.168.xxx.xxx and static
> IP's
> > on this box and my Win XP-Home laptop.
> >
> > I have one test virtual host netcodeman.dev and am
> > trying to get phpMyAdmin working.
> >
> > CONFIGURATION
> > =============
> > XP-Home : /windows/system32/drivers/etc/hosts :
> >
> > added 2 lines
> > 192.168.xxx.xxx netcodeman.dev
> > 192.168.xxx.xxx pma.dev
> >
> > -----
> > AMD500
> > ------
> > added 2 lines to /etc/hosts
> >
> > 192.168.xxx.xxx    netcodeman.dev
> > 192.168.xxx.xxx    pma.dev

> >
> >
> > In my /etc/httpd/config
> >
> > Uncommented NameVirtualHost *:80
> > added:
> >
> > ##begin netcodeman.dev
> > <VirtualHost *:80>
> >     DocumentRoot /var/www/html/netcodeman.dev
> >     ServerName netcodeman.dev

> >
> > </VirtualHost>
> > ##End netcodeman.dev
> > <VirtualHost *:80>
> >     DocumentRoot
> > /usr/share/phpMyAdmin-2.9.0.2-all-languages
> >     ServerName pma.dev

> >
> > </VirtualHost>
> > ---
> > restarted httpd - not errors
> > ---
> > =======
> > On the server if I type localhost into the browser
> I
> > get:
> >
> > Index of /
> > [ICO]    Name    Last modified    Size    Description
> > [DIR]    netcodeman.dev/    24-Oct-2006 16:59     -
> > Apache/2.2.0 (Fedora) Server at localhost Port 80
> > -----
> > If I type : http://netcodeman.dev/

> >
> > I get the output of netcodeman.dev/index.php
> >
> > If I type:http://pma.dev/
> >
> > I get the output of netcodeman.dev/index.php
> >
> > ---
> > I've read http://httpd.apache.org/docs/2.2/vhosts/
> and
> > beleive I'm conforming to named vhosts.
> >
> ----
> I don't fully understand name based virtual hosts
> but seeing as though
> you are in private IP space, why not just give the
> FC-5 system multiple
> IP addresses which makes virtual hosting simple?
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
>
> To subscribe, unsubscribe, or to change you mail
> settings:
>

http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



- - - - - - -
Keith Smith
- - - - - - -
http://travelingcheese.com/search_engine/increase-search-engine-traffic.html
- - - - - - -

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss