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: Cannot access subfolders from local network
Author
mj585



Joined: 21 Aug 2008
Posts: 2

PostPosted: Thu 21 Aug '08 21:50    Post subject: Cannot access subfolders from local network Reply with quote

Hello...

I have an apache web server running for about 2 years now, and everything was running just fine.

Just yesterday, I replaced the old computer that was hosting the server with a new one (the old computer used XP, the new one has Vista).

I installed Apache on the new PC (I'm using appserv), and copied the files from the old one, and everything looked fine. People living elsewhere can access the web pages just fine.


But...

I have a second computer (my own PC) that is connected to the first PC through a crossover cable (sharing the internet connection --first PC being hooked to the internet directly) but that second PC can only view pages that are located on the main/root folder, but not ones inside subfolders.

I mean...

http://0.0.0.0/page.html .. this one works fine

but if I copy that page and put it inside a subfolder like so:

http://0.0.0.0/subfolder/page.html ... then it wouldn't load up from the second PC.


I'm not sure what the problem is ... could it be something to do with Vista? .. are there any permissions that I need to set up?


I thought it could be something to do with Appserv, so I tried wampserver and got the same issue Sad


Any help is appreciated ... thank you Smile
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 25 Aug '08 9:31    Post subject: Reply with quote

0.0.0.0 is not an valied IP from the network! open a commandline (cmd.exe) and run ipconfig to get your real networkadress. Than you can access your 1st PC from the second one with something like http://192.168.0.1/
Back to top
mj585



Joined: 21 Aug 2008
Posts: 2

PostPosted: Mon 25 Aug '08 19:13    Post subject: Reply with quote

hello, thanks for the reply

Sorry for not making it clear, 0.0.0.0 was just an example. I do know why real IP address but I thought not to post it in public Laughing

The problem with using the local IP (not the real IP) is that I'm trying to access a forum that can only use one IP as the server path. So I can open it fine that way but then it redirects me with the real IP and I get the same problem. I can change the server path for the forum, but then people from elsewhere cannot access it because the IP won't work for them (because they're not part of the local network).



Just wanted to add that if I use a proxy or a website that lets you browse the net annonymously, I can actually access the pages hosted in subfolders just fine. So I think it's a problem with the main computer giving my computer access to those files/pages.


Thanks again Smile
Back to top


Reply to topic   Topic: Cannot access subfolders from local network View previous topic :: View next topic
Post new topic   Forum Index -> Apache