HTTPD.CONF
Posted by: kathierry2106 (196.44.244.---)
Date: March 04, 2008 09:39AM

HELLO 2 u 'all

is it possible to configure the wamp server instead of entering the localhos or 127.0.0.1 or the name of computer change the httpd.conf file and entering the name of mywebsite ?

i c on the httpd.conf
onlne


ServerName localhost:80

if i change into or add under this line

ServerName localhost:80
MyWebsiteName:80

and save the changes will work?

any tips or help will be kind from u

Options: ReplyQuote
Re: HTTPD.CONF
Posted by: toivo (203.19.130.---)
Date: March 04, 2008 10:12AM

Hi,

You can use the servername of your site as a dummy domain on the workstation running the WAMP server and also inside the LAN if you add the IP address and the servername to the hosts file \windows\system32\drivers\etc\hosts. On the workstation running WAMP the IP address is 127.0.0.1 and on other workstations in the LAN it is the IP address of the workstation running WAMP.

The format of the entry in hosts is therefore:

127.0.0.1 mywebsitename

- or

192.168.1.1 mywebsitename

If the domain name is found in the hosts file, it gets resolved before a request to the DNS service is made.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: HTTPD.CONF
Posted by: yfastud (Moderator)
Date: March 04, 2008 01:33PM

check Setup Virtualhost guide on my personal website

Have fun,

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

Options: ReplyQuote
HTTPD.CONF
Posted by: omer (116.71.247.---)
Date: March 06, 2008 10:32PM

Hellow All,

I installed wamp server 2.0 and i tried to create a virtual host by un-commenting

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

save the file httpd.conf and restart apache. But it wont start, i checked in apache error log file it says


Fri Mar 07 02:23:41 2008] [warn] pid file E:/wamp/bin/apache/apache2.2.6/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Mar 07 02:23:42 2008] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations
[Fri Mar 07 02:23:42 2008] [notice] Server built: Sep 5 2007 08:58:56
[Fri Mar 07 02:23:42 2008] [notice] Parent: Created child process 2512
[Fri Mar 07 02:23:42 2008] [notice] Child 2512: Child process is running
[Fri Mar 07 02:23:42 2008] [notice] Child 2512: Acquired the start mutex.
[Fri Mar 07 02:23:42 2008] [notice] Child 2512: Starting 250 worker threads.
[Fri Mar 07 02:23:42 2008] [notice] Child 2512: Starting thread to listen on port 80.
[Fri Mar 07 02:26:21 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Mar 07 02:26:21 2008] [notice] Child 2512: Exit event signaled. Child process is ending.
[Fri Mar 07 02:26:22 2008] [notice] Child 2512: Released the start mutex
[Fri Mar 07 02:26:23 2008] [notice] Child 2512: Waiting for 250 worker threads to exit.
[Fri Mar 07 02:26:23 2008] [notice] Child 2512: All worker threads have exited.
Error in my_thread_global_end(): 1 threads didn't exit
[Fri Mar 07 02:26:28 2008] [notice] Child 2512: Child process is exiting
[Fri Mar 07 02:26:28 2008] [notice] Parent: Child process exited successfully.

I wont understand the above error...!

Can Anyone Help Please ??

Options: ReplyQuote
Re: HTTPD.CONF
Posted by: yfastud (Moderator)
Date: March 06, 2008 11:35PM

check Setup Virtualhost guide on my personal website

Have fun,

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

Options: ReplyQuote
Re: HTTPD.CONF
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: March 07, 2008 05:50AM

If you want to understand the above errors, either you take a course in Operating System and Process or visit the web link: Error log documentation at [httpd.apache.org]

Options: ReplyQuote
Re: HTTPD.CONF
Posted by: omer (116.71.155.---)
Date: March 07, 2008 10:10AM

Thanks for your reply, but how can I make apache running??

I want to know that is there any other way of creating a virtual host in wampserver i.e un-commenting the virtual host in httpd.conf, is there any other thing else to be done to make a virtual server ??

Options: ReplyQuote
Re: HTTPD.CONF
Posted by: yfastud (Moderator)
Date: March 07, 2008 04:29PM

omer
look like you only like post the question but does not like to read the answer, and I've already answered your question: "Check Setup Virtual Host guide on my personal website" and here is the link

[guides.jlbn.net]

Have fun,

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.