On Saturday, 2006, November 4 at 9:22, [EMAIL PROTECTED] (Wasp King) wrote:
Peter,
thanks. it now works alsoa 3rd question: how can my apache2.2 does nto
start automatically upon rebooting? /usr/local/etc/rc.d does have the file
apahce22.sh, and has the permision -r-xr-xr-x, owned by
On 2006/11/02 13:00, Wasp King seems to have typed:
I did a clean install of FreeBSD 6.1 (from CD), then
installed Apache2.2 using ports. Apache works fine if
I donot change anything in the config files (all it
says is it works!)...however,
1). if I change the line
DocumentRoot
yes, I have commented out the sample ones, and yes, I
added my own...
VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/home/user3/www
ServerName www.cyber***.org
ErrorLog /usr/httplog/cyber***.err
CustomLog /usr/httplog/cyber***.log common
/VirtualHost
---
Make sure you are using the correct httpd.conf file. When I upgraded to
2.2 from 1.X that was my problem with my setup. The 2.2 uses a different
location for the default httpd.conf file.
-Derek
At 04:41 PM 11/2/2006, Wasp King wrote:
yes, I have commented out the sample ones, and
On 2006/11/02 13:41, Wasp King seems to have typed:
yes, I have commented out the sample ones, and yes, I
added my own...
Make sure:
NameVirtualHost *:80
is uncommented at the beginning of your httpd-vhosts.conf file.
Did you try the -S command line option to verify you httpd-vhosts.conf
file?
On 2006/11/02 13:41, Wasp King seems to have typed:
yes, I have commented out the sample ones, and yes, I
added my own...
It sounds like you directory access is too restrictive.
Maybe try adding to your httpd.conf something like:
Directory /usr/home/user3/www
Options Indexes FollowSymLinks
Thanks!! Now I understand why the changes would make
it not work...I noticed that the
/usr/local/www/apache22 was specified in a Directory
statement, so any change would make it not working...
I have added the following so all users are changed:
Directory /usr/home/*/www/
Options Includes