Pages: 12Next
Current Page: 1 of 2
messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 18, 2009 08:36PM

well, i seem to have two apache's loaded onto my pc xp pro. one in program files and one in wamp. the path from httpd.conf points to wamp. so do i uninstall prgm file Apache?
also i have added include vhosts to httpd.conf and have added virtualhost directives to vhosts. is that correct?
i can't get Apache to start when i load wamp server. could any of the above be the issue.
can u tell i'm a newbie to Apache and coding? if some one can help me out it would be great.

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: showstopper (---.tstt.net.tt)
Date: June 18, 2009 08:45PM

change the settings from the vhost config in the wamp folder C:/wamp/bin/apache then restart apache

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 18, 2009 10:05PM

not clear to me what u mean.sorry perhaps i'm dense.

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: yfastud (Moderator)
Date: June 18, 2009 10:30PM

by default, apache will look for original httpd.conf and the one come w/ wamp won't work so you have to uninstall old apache then restart wamp

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 18, 2009 10:54PM

do u mean uninstall Program Files/Apache then restart wamp? and leave c://wamp/apache running. and then restart after i unnstall old Program files/Apache
sorry im really not good at comprehending

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: yfastud (Moderator)
Date: June 18, 2009 11:24PM


Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 19, 2009 12:14AM

thank you all. i'll try it.

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 19, 2009 12:40AM

did what u said but no go ..Apache won't load.
here's my httpd.conf file as is for one site. my main site folder is in the root of wamp c://wamp/ec and then there is a subdirectory test where my files are: a couple of php files.

#tells Apache to identify which site by name
NameVirualHost *:80
#Tells Apache to serve the dfault WAMP server page to localhost
<VirtualHost 127.0.0.1>
ServerName localhost
#root folder all folders and files are under here
DocumentRoot "C:/wamp"
</VirtaulHost>
#Tells Apache to serve ec pages to "ec.localhost"
#Duplicate and modify this block to another client
<VirtualHost 127.0.0.1>
#the name to respond to
ServerName ec.localhost
#folder where the files live
DocumentRoot "C:/wamp/ec/test">
#a few helpful setting ...
<Directory "C:/wamp/ec/test">
allow from all
order allow,deny
#Enables .htaccess fores for this site
AllowOverride All
</Directory>
#Apache will look for these two files, in this order: index.htm, index.php
DirectoryIndex index.html index.php
</VirtaulHost>
can't figure out my mistake. if u can still help thank you and thank you so far.

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: yfastud (Moderator)
Date: June 19, 2009 12:54AM

in that case, uninstall current wamp, remove wamp folder, restart pc, reinstall wamp; but before remove wamp, make sure to backup everything you need, check this for idea
[blog.jlbn.net]
after reinstall wamp, follow this to setup vh
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 22, 2009 04:15PM

good. i uninstalled wamp and reinstalled wamp .. apache loads. tried to follow tutorial but got very confused as i'm just running virtualhost without domain names. i have as i've stated wamp/www/ec/test then my index.php file is in test. but after configuring vhosts.conf Apache 2.2.11 won't load. before i configured vhost.conf and i clicked on localhost from wamp menu i got wamp server ..projects etc. now nothing if i type [ec.localhost] can't connect.
here's my vhosts.conf file

<VirtaulHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www/ec.test.localhost
ErrorLog C:/wamp/www/ec.localhost/logs/error.log
CustomLog C:/wamp/www/ec.localhost/logs/access.log
</VirtualHost>
i also closed zone alarm and super anti spyware.
can u help?
thanks

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: yfastud (Moderator)
Date: June 22, 2009 04:51PM

just replace real domain w/ local domain then follow the rest; for example
NameVirtualHost *:80

<VirtualHost *:80>
ServerName domain
DocumentRoot C:/wamp/www/domain
ErrorLog C:/wamp/www/domain/logs/error.log
CustomLog C:/wamp/www/domain/logs/access.log common
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
</VirtualHost>

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 22, 2009 05:46PM

so i changed the vhosts.conf file and still no apache loaded when i restart services:

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www/ec/test
ErrorLog C:/wamp/www/ec/logs/error.log
CustomLog C:/wamp/www/ec/logs/access.log
</VirtualHost>

not sure or just plain stupid but i can't figure this out?? where am i going wrong?
is there an error record somewhere within apache or wamp? to help me out. but i guess if apache isn't loading there won't be an error record?

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 22, 2009 06:00PM

can i have the sub folder test under www/ec?

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 22, 2009 06:04PM

in explore in ww/ec my index.php has a dreamweaver icon. would that matter?

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: toumimi (---.223.115-78.rev.gaoland.net)
Date: June 22, 2009 06:14PM

Are you sure you don't forget something ?

yfastud wrote
CustomLog C:/wamp/www/domain/logs/access.log common

This may cause a problem..

File icon or association doesn't matter.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: yfastud (Moderator)
Date: June 22, 2009 06:30PM

check your apache error log and also error log in created folder winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 22, 2009 06:44PM

well: i added common to access.log and still when i check port 80 it says not actually used? here's an error code from june 22

[Mon Jun 22 09:29:05 2009] [notice] Child 168: Child process is running
[Mon Jun 22 09:29:05 2009] [notice] Child 168: Acquired the start mutex.
[Mon Jun 22 09:29:05 2009] [notice] Child 168: Starting 64 worker threads.
[Mon Jun 22 09:29:05 2009] [notice] Child 168: Starting thread to listen on port 80.
[Mon Jun 22 09:29:48 2009] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Mon Jun 22 09:54:36 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jun 22 09:54:36 2009] [notice] Child 168: Exit event signaled. Child process is ending.
[Mon Jun 22 09:54:37 2009] [notice] Child 168: Released the start mutex
[Mon Jun 22 09:54:38 2009] [notice] Child 168: All worker threads have exited.
[Mon Jun 22 09:54:38 2009] [notice] Child 168: Child process is exiting
[Mon Jun 22 09:54:38 2009] [notice] Parent: Child process exited successfully.

i have one other folder in www. ec_remote which is set in dreamweaver for remote site. i have the eric site set up in drmwvr and ec is the local site and ec_re_remote is set as remote and testing site so should i change path to www/ec_remote/test?

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: yfastud (Moderator)
Date: June 22, 2009 09:10PM


Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 23, 2009 02:56AM

that was from my error log. my access log for two attemps on June 22 are as follows. first i tried to connect to wamp/www/ec/test/localhost then from wamp/www/ec_remote (which is also in that folder(www)/test/localhost

127.0.0.1 - - [21/Jun/2009:16:43:38 -0400] "POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=IDE_DEFAULT HTTP/1.1" 404 216
127.0.0.1 - - [21/Jun/2009:16:45:53 -0400] "POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=IDE_DEFAULT HTTP/1.1" 404 216
127.0.0.1 - - [21/Jun/2009:16:46:29 -0400] "POST /CFIDE/main/ide.cfm?CFSRV=IDE&ACTION=IDE_DEFAULT HTTP/1.1" 404 216
127.0.0.1 - - [21/Jun/2009:16:50:27 -0400] "GET / HTTP/1.1" 200 4145
127.0.0.1 - - [21/Jun/2009:16:50:29 -0400] "GET /index.php?img=favicon HTTP/1.1" 200 13262
127.0.0.1 - - [21/Jun/2009:16:50:29 -0400] "GET /index.php?img=gifLogo HTTP/1.1" 200 5172
127.0.0.1 - - [21/Jun/2009:16:50:29 -0400] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548
127.0.0.1 - - [21/Jun/2009:16:50:29 -0400] "GET /index.php?img=pngWrench HTTP/1.1" 200 741
127.0.0.1 - - [21/Jun/2009:16:50:29 -0400] "GET /index.php?img=pngFolder HTTP/1.1" 200 850
127.0.0.1 - - [21/Jun/2009:16:50:29 -0400] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694
127.0.0.1 - - [21/Jun/2009:16:50:32 -0400] "GET /index.php?img=favicon HTTP/1.1" 200 13262
127.0.0.1 - - [21/Jun/2009:16:50:36 -0400] "GET /ec HTTP/1.1" 301 228
127.0.0.1 - - [21/Jun/2009:16:50:36 -0400] "GET /ec/ HTTP/1.1" 200 1008
127.0.0.1 - - [21/Jun/2009:16:50:37 -0400] "GET /icons/blank.gif HTTP/1.1" 200 148
127.0.0.1 - - [21/Jun/2009:16:50:37 -0400] "GET /icons/back.gif HTTP/1.1" 200 216
127.0.0.1 - - [21/Jun/2009:16:50:37 -0400] "GET /icons/folder.gif HTTP/1.1" 200 225
127.0.0.1 - - [21/Jun/2009:16:50:38 -0400] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [21/Jun/2009:16:50:40 -0400] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [21/Jun/2009:16:50:40 -0400] "GET /ec/test/ HTTP/1.1" 200 37
127.0.0.1 - - [21/Jun/2009:16:51:03 -0400] "GET /ec_remote HTTP/1.1" 301 235
127.0.0.1 - - [21/Jun/2009:16:51:03 -0400] "GET /ec_remote/ HTTP/1.1" 200 1022
127.0.0.1 - - [21/Jun/2009:16:51:05 -0400] "GET /ec_remote/test/ HTTP/1.1" 200 37
127.0.0.1 - - [22/Jun/2009:09:29:21 -0400] "GET / HTTP/1.1" 200 4145
127.0.0.1 - - [22/Jun/2009:09:29:23 -0400] "GET /index.php?img=gifLogo HTTP/1.1" 200 5172
127.0.0.1 - - [22/Jun/2009:09:29:23 -0400] "GET /index.php?img=pngWrench HTTP/1.1" 200 741
127.0.0.1 - - [22/Jun/2009:09:29:24 -0400] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548
127.0.0.1 - - [22/Jun/2009:09:29:24 -0400] "GET /index.php?img=pngFolder HTTP/1.1" 200 850
127.0.0.1 - - [22/Jun/2009:09:29:24 -0400] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694
127.0.0.1 - - [22/Jun/2009:09:29:44 -0400] "GET /ec_remote HTTP/1.1" 301 235
127.0.0.1 - - [22/Jun/2009:09:29:44 -0400] "GET /ec_remote/ HTTP/1.1" 200 1022
127.0.0.1 - - [22/Jun/2009:09:29:48 -0400] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [22/Jun/2009:09:29:48 -0400] "GET /ec_remote/test/ HTTP/1.1" 200 37

make any sense to u??
not me.
i know we're close.

Options: ReplyQuote
Re: messed up with Apache 2.2.10 and httpd &vhosts.conf
Posted by: Thomas S (---.cpe.net.cable.rogers.com)
Date: June 23, 2009 11:05PM

i hope what i sent was useful for u to figure out wha'ts happening? i don't. apache still isn't loading. any clues?
have u given up on me? i see there's lots more posts to the forum so u are most likely busy. let me knw.

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.