Re: vhost does not work Apache2.2
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 root. so it should >start >automatically? Try adding: apache22_enable="YES" in /etc/rc.conf > >"Peter A. Giessel" <[EMAIL PROTECTED]> wrote: > On Thursday, 2006, November 2 at 16:19, [EMAIL PROTECTED] (Wasp King) >wrote: > >>Still cannot get http://cyber***.com/~user3 to work >>though. they seem to change everything with a newer >>version of apache... > >Check out the: > ># User home directories >Include etc/apache22/extra/httpd-userdir.conf > > >inclusion in your httpd.conf (and of course httpd-userdir.conf ). > >For Apache 2.2 they modularized the configuration file, which is >VERY nice when you are making changes to a specific part and don't >want to botch up the rest of your config, but it takes some getting >used to. _ "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin, 1755 "Tyrants and would be tyrants have always claimed that free men and women are weak and decadent until the day that free men and women defeat them" - George W. Bush, 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vhost does not work Apache2.2
Thanks!! Now I understand why the changes would make it not work...I noticed that the /usr/local/www/apache22 was specified in a statement, so any change would make it not working... I have added the following so all users are changed: Options Includes FollowSymLinks ExecCGI AddHandler server-parsed .shtml AddHandler cgi-script .cgi .pl AllowOverride None Order allow,deny Allow from all Still cannot get http://cyber***.com/~user3 to work though. they seem to change everything with a newer version of apache... --- "Peter A. Giessel" <[EMAIL PROTECTED]> wrote: > 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: > > Options Indexes FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > > Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates (http://voice.yahoo.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vhost does not work Apache2.2
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: Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vhost does not work Apache2.2
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? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vhost does not work Apache2.2
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 yes, I added my own... ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/home/user3/www ServerName www.cyber***.org ErrorLog /usr/httplog/cyber***.err CustomLog /usr/httplog/cyber***.log common --- "Peter A. Giessel" <[EMAIL PROTECTED]> wrote: > Did you make any entries in the httpd-vhosts.conf > file? Are any of > the directives uncommented? > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vhost does not work Apache2.2
yes, I have commented out the sample ones, and yes, I added my own... ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/home/user3/www ServerName www.cyber***.org ErrorLog /usr/httplog/cyber***.err CustomLog /usr/httplog/cyber***.log common --- "Peter A. Giessel" <[EMAIL PROTECTED]> wrote: > Did you make any entries in the httpd-vhosts.conf > file? Are any of > the directives uncommented? > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vhost does not work Apache2.2
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 "/usr/local/www/apache22/data" > to DocumentRoot "/usr/home/user1/www" (and disable the > above line with # in front of cours), then it shows > the message > > "Forbidden > You don't have permission to access / on this server." > this is despite the dirs has the right permissions. Did you change the first directive to also be document root? In my httpd.conf, this is around line 175, and it says: # # This should be changed to whatever you set DocumentRoot to. # > 2). I can move all the contents under /user1/www to > /usr/local/www/apache22/data and then it works > fine...howver, if I enable the vhosts, by activating > the line in httpd.conf: > > Include etc/apache22/extra/httpd-vhosts.conf > > then I get the same error! Did you make any entries in the httpd-vhosts.conf file? Are any of the directives uncommented? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Vhost... use Apache
Exactly. "Learning Faster" is a no go. It never happens. The secret is : It's in the ports, and apache2 is the best (in my opinion) In other words, build the port, then read the documentation. (from the http://httpd.apache.org/ website). Joe Charlie Schluting wrote: Mr Kitt wrote: To whom it may concern, pls provide me the cmds as well... u may give me an example so that i can learn faster n understand better... Nobody is going to give you commands for basic things. It would just take too long. Read the manual. It sounds like you're wanting to set up apache. It wasn't clear from your request. Ok, read the Apache documentation. Don't ask the same question more than once. Please wrap your lines at 72 chars. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Vhost
Mr Kitt wrote: To whom it may concern, pls provide me the cmds as well... u may give me an example so that i can learn faster n understand better... Nobody is going to give you commands for basic things. It would just take too long. Read the manual. It sounds like you're wanting to set up apache. It wasn't clear from your request. Ok, read the Apache documentation. Don't ask the same question more than once. Please wrap your lines at 72 chars. -Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"