Can't access wamp server on 10.0.0.10
Posted by: achristouio (---.uio.no)
Date: December 09, 2007 07:39PM

I have a test php site that I need to put on my intranet server boss on 10.0.0.10, but answering three urls, xx.mysite.no, yy.mysite.no and zz.mysite.no which all are in c:\windows\system32\drivers\etc\hosts is set to listen to 10.0.0.10

In previous versions of Apache and also an earlier version of wamp, this worked nicely by changing the appropriate places in httpd.conf and the corresponding vhosts-file in extra.

But, after fuzzing about getting the new site working even locally, it turns out that wamp now don't look at all into those files, but use wampserver.ini completely.

This is deviant from standard set up.

My site is placed in h:/local/www and even though changing it in the httpd.conf, it was ignored. Had to correct in wampserver.ini to override the placement.

Ok. Now I get it listening locally, but to other ip address? No.

Now, why don't it read the content of httpd.conf anymore. Is that documented anywhere, or is it a glitz ??

Even intended, how do I now get my xx.myhost,no working from my computer on 10.0.0.101 which tries to connect to 10.0.0.10 ??

I get repeatedly a message about

Forbidden

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

Alf Christophersen

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: achristouio (---.uio.no)
Date: December 09, 2007 08:21PM

PS. I'm running on Windows 2003

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: yfastud (Moderator)
Date: December 09, 2007 09:48PM

Not sure how you set it up, but I'm still able to use local domain to access all my webistes w/i LAN w/o any problema

Have fun,

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

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: achristouio (---.uio.no)
Date: December 09, 2007 10:02PM

Do you use Windows 2003 server ?

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: yfastud (Moderator)
Date: December 10, 2007 12:51AM

Noop, 1 Vista Business w/ wamp, 1 Vista Premium w/ wamp, 1 Vista Basic, 1 XP Pro w/ wamp, and 1 XP Home, but when you can get wamp working, the concept should be the same as you see that I have wamp on 2 vista and 1 xp, and I can use either other vista or xp to access websites w/i LAN w/o any problem

Have fun,

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

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: vleite (---.netsolbox.com.br)
Date: December 12, 2007 08:03PM

Did you put the server online?

Left click on the tray icon, put online.

--
or
--

Edit the httpd.conf file, change the line:

"Allow from 127.0.0.1"

to

"Allow from all"

and restart the http service.


Good luck!

Vinícius Leite
Brasil - MG/BH

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: achristouio (---.uio.no)
Date: December 12, 2007 09:33PM

Thanx. That did the trick!

But why didn't allow from 10.0.0.* work ?

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: vleite (---.user.veloxzone.com.br)
Date: December 12, 2007 11:16PM

Try this:

"Allow from 10.0.0"

(Whitout .*)


Take a look on the apache oficial docs about the Allow Directive to more information:

[httpd.apache.org]


Best Regards from Brasil!

Vinícius Leite
Brasil - BH/MG

Options: ReplyQuote
Re: Can't access wamp server on 10.0.0.10
Posted by: achristouio (---.uio.no)
Date: December 12, 2007 11:45PM

Thx! Should have thought about that :-)

Options: ReplyQuote


Sorry, only registered users may post in this forum.