LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   virtual hosts... (https://www.linuxquestions.org/questions/linux-newbie-8/virtual-hosts-161877/)

tuxguy 03-25-2004 12:10 PM

what distro are you using?

you can go into your src directory for apache and try /make uninstall

Digital_Err0r 03-25-2004 12:13 PM

red hat 9 but i wana keep ssl. ive enabled that thing now but it still wont start and is saying needs a list of users.....

EDIT --

Code:

UserDir "Enabled" foxy, acigolf
thats fine

although i now get that old error back. about the * with non*

tuxguy 03-25-2004 12:30 PM

ok ... put the comment back in then.. just below the ServerName put
"Port 80"

then in your listen section add
<IfDefine SSL>
Listen 443
</IfDefine>


ps... when you compiled apache (RD httpd)... did you ./configure --enable-mods-shared=most --enable-ssl=shared ???

I hope I dont get in crap but I found a good how-to.. http://raibledesigns.com/tomcat/ssl-howto.html

if you can figure out how to uninstall the version you have now and follow that how to shouldn't be a prob.


from your .conf file

#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# The path to the end user account 'public_html' directory must be
# accessible to the webserver userid. This usually means that ~userid
# must have permissions of 711, ~userid/public_html must have permissions
# of 755, and documents contained therein must be world-readable.
# Otherwise, the client will only receive a "403 Forbidden" message

Digital_Err0r 03-25-2004 12:39 PM

um ive added Port 80 under the ServerName....

Put the <IDefine SSL> in, but when i try to start apache i get 'Apache 1.3 directives found'.

and i didnt do anything, all ive done is install red hat, ive not done anything extra.....

Digital_Err0r 03-25-2004 01:05 PM

rite ive got apache started fine now. duno what i changed but it worked lol. im still getting this - http://foxy.sytes.net << look the 400 bad request has come back lol.

any ideas?

Digital_Err0r 03-25-2004 01:40 PM

bump

tuxguy 03-25-2004 01:46 PM

lol
try adding another listen for port 443 ie..

Listen *:443

then in your <VirtualNameServer *:80>

Digital_Err0r 03-25-2004 02:03 PM

ive addethe listen *:443 but i get a whole load of errors when trying to start httpd... and putting *:80 in makes no diff :(

tuxguy 03-25-2004 02:04 PM

Sorry man.. I know my limits. and I am pushing them now.

Anybody else lend a hand?

Digital_Err0r 03-25-2004 02:17 PM

lol u wont believe this. i went into ssl.conf and set the SSLEngine to off in the virtual host thats in there. everything works fine :D :D :D

thanks

digital

tuxguy 03-25-2004 03:58 PM

good to hear! glad u got it going

jesse


All times are GMT -5. The time now is 04:38 PM.