logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: problem with vhosts Page Previous  1, 2, 3, 4  Next
Author
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Tue 10 Apr '12 19:51    Post subject: Reply with quote

I sure appreciate this everyone. Very Happy

127.0.0.1 localhost
127.0.0.1 test
127.0.0.1 skip
127.0.0.1 melendy



http://melendy

http://melendy/gen/

http:/skip/

http:/test

I hope this what your asking.
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Wed 11 Apr '12 5:15    Post subject: Reply with quote

Almost, now just fill in the blanks...

http://localhost/ --> G:/wamp/www
http://test/ -->
http://skip/ --> G:/skip (Guessing)
http://melendy/ -->
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Wed 11 Apr '12 5:49    Post subject: Reply with quote

Whoah! Question Question Question

Are these for the vhosts DocumentRoot?
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Wed 11 Apr '12 14:29    Post subject: Reply with quote

Yes
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Wed 11 Apr '12 15:36    Post subject: Reply with quote

rob62 wrote:
Whoah! Question Question Question

Are these for the vhosts DocumentRoot?




<VirtualHost *:80>
DocumentRoot "http://skip"
ServerName skip.localhost
errorLog "g:/skip/logs/skip-error.log"
CustomLog "g:/skip/logs/skip-access.log"common
</VirtualHost>

Wed Apr 11 09:31:33 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.

[Wed Apr 11 09:31:33 2012] [notice] Child 2684: Exit event signaled. Child process is ending.

[Wed Apr 11 09:31:34 2012] [notice] Child 2684: Released the start mutex

[Wed Apr 11 09:31:35 2012] [notice] Child 2684: All worker threads have exited.

[Wed Apr 11 09:31:35 2012] [notice] Child 2684: Child process is exiting

[Wed Apr 11 09:31:35 2012] [notice] Parent: Child process exited successfully.

Server will not go online.
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Wed 11 Apr '12 15:49    Post subject: Reply with quote

Here ya go. I guessed with your directories, but hope I'm right. Double-check. Hope this wraps everything up for ya! Very Happy

http://www.hellzoneinc.com/httpd-vhosts.conf.txt

*crosses finger* Heh
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Wed 11 Apr '12 16:22    Post subject: Reply with quote

You have tried very hard.
Sad Sad Sad Sad Sad Sad

http://skip/php_test.php - worked
--------------------------------------------
http://skip/php.php - G:\Wamp\www - wrong path

error] [client 127.0.0.1] script 'G:/Wamp/www/index.html.php' not found or unable to stat

http://skip/php.php - g:\wamp\www
-------------------------------------------------

http://skip/index.html

Wed Apr 11 10:00:07 2012] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Wed Apr 11 10:00:07 2012] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Wed Apr 11 10:00:07 2012] [notice] Child 4028: Child process is running
[Wed Apr 11 10:00:07 2012] [notice] Child 4028: Acquired the start mutex.
[Wed Apr 11 10:00:07 2012] [notice] Child 4028: Starting 64 worker threads.
[Wed Apr 11 10:00:07 2012] [notice] Child 4028: Starting thread to listen on port 80.
[Wed Apr 11 10:00:07 2012] [notice] Child 4028: Starting thread to listen on port 80.
[Wed Apr 11 10:02:47 2012] [error] [client 127.0.0.1] script 'G:/Wamp/www/index.html.php' not found or unable to stat
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Wed 11 Apr '12 16:37    Post subject: Reply with quote

Confused Confused Confused Confused Confused
I added ServerAlias

<VirtualHost *:80>
DocumentRoot "G:/skip"
ServerName skip
ServerAlias skip
ErrorLog "G:/skip/logs/skip-error.log"
CustomLog "G:/skip/logs/skip-access.log" common
</VirtualHost>

No path error.Smile Smile Just error below:


warn] _default_ VirtualHost overlap on port 80, the first has precedence
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Wed 11 Apr '12 17:03    Post subject: Reply with quote

Ok. Maybe remove the _default_ directive and the one just below it should grab all. It is more or less just registering as a duplicate atm, kinda.

So, ur final outlook is pretty much similar to:
http://www.hellzoneinc.com/httpd-vhosts.conf.txt
?
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Wed 11 Apr '12 18:04    Post subject: Reply with quote

<?php
echo getcwd();
?>
g:\wamp\www


No change

I didn't notice you changed anything.
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Wed 11 Apr '12 18:08    Post subject: Reply with quote

You may have to Ctrl+F5 your browser. That's a true Refresh, and requests all new objects.

If you wish, I will be on TeamSpeak most the day today. You can connect to voice.hellzoneinc.com
I will be known as Twank.
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Wed 11 Apr '12 19:08    Post subject: Reply with quote

Welcome to HZI
New server setups. Sorry for the inconvenience.

I googled "warn] _default_ VirtualHost overlap on port 80, the first has precedence"

Most every one says to add "NameVirtualHost *:80"

When I do that the error is:

You don't have permission to access /php_test.php on this server.

You don't have permission to access /index.html on this server.

No errors in apache log
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Wed 11 Apr '12 19:25    Post subject: Reply with quote

voice.hellzoneinc.com is address if u've TeamSpeak...

To make explanation simple, <VirtualHost _default_:80> is the same as the next one I am assuming you would have defined below it. The 'overlap' message is kinda its way of saying duplicate.

You can reference my vhosts file if this helps at all...

http://www.hellzoneinc.com/myhttpd-vhosts.conf.txt
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Thu 12 Apr '12 2:03    Post subject: Reply with quote

I thank you for your persistance. I think the problem lies in another file. The guy who created WAMP has altered Apache in some way.

Unfortunately he gave me very poor assistance.
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Thu 12 Apr '12 4:53    Post subject: Reply with quote

Well, I'll try n help with whatever I can. Even if u try installing everything independantly, or if ur up to grant anyone remote access, or view.
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Thu 12 Apr '12 5:12    Post subject: Reply with quote

Thank you
If someone fells comfortable an knowledgeable enough, I have TeamViewer installed
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Thu 12 Apr '12 14:09    Post subject: Reply with quote

I'm got TeamViewer7. I'm not sure if that has an active chat with it, but I got Ventrillo & TeamSpeak for voice, and just about any other messenger for chat. Most always on Steam & TeamSpeak. Today I will be outta town for a little bit, but I do remotely check my stuff, so feel free to leave me a message.
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Thu 12 Apr '12 19:35    Post subject: Reply with quote

TeamViewer seems to have video and sound, but not sure if they work with free version.

Did you want to try this evening? If there is a better time for you, let me know.
Back to top
Triple_Nothing



Joined: 01 Apr 2012
Posts: 39
Location: WI, USA

PostPosted: Fri 13 Apr '12 3:52    Post subject: Reply with quote

I be free first half of tomorrow, being Friday. My day be flexible, so post a time & timezone n we can try to hook up.
Back to top
rob62



Joined: 22 May 2007
Posts: 54
Location: mi

PostPosted: Fri 13 Apr '12 5:06    Post subject: Reply with quote

I am free all day Friday. It's EDT time here. I believe you are CDT.

I can chat with Yahoo or call you. I would never call with out consent.

I'm not familiar with TeamSpeak but could try it/
Back to top


Reply to topic   Topic: problem with vhosts View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page Previous  1, 2, 3, 4  Next