tpanzarella (harley) on Wed, 4 Apr 2001 14:47:32 -0400


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

Re: [PLUG] another apache question


Make sure that you have defined the "ServerName" directive in your httpd.conf file to be the fully qualified domain name of the server ... when just playing around on a local LAN I use the IP address of the Apache box as the ServerName value.

ie.

ServerName  yourhost.yourdomain.com

or

ServerName  192.168.1.10


If you don't have server name defined, Apache tries to use your DNS set up to handle the redirect, in which case it will probably use /etc/hosts and/or /etc/resolv.conf ... it's easier to just define ServerName.


--t.

Michael Whitman wrote:

If i have a
DocumentRoot "/var/www/docroot"

and in docroot i have a directory caller 'exam'

this url works

www.mydomain.com/exam/

but not this

www.mydomain.com/exam


any idea how to make both work?

btw

<Directory "/var/www/wwthreads">
AllowOverride None
Options ExecCGI
SetHandler cgi-script
Order allow,deny
Allow from all
</Directory>

worked

Thanks to --t


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug


--
C-x C-c


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug