what address to use (absolute beginner)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 05:59

Yes, localhost shows the "Congratulaions" bizzo. So I guess apache is running.

No, I have not put anything in the htdocs folder yet. There is already an index.html file there, so I assumed that might be findable. I'll put something else in there in a folder (as you suggest).

Thanks matey. :-)
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 06:06

I've put an .htm file there a.htm in bizzo/a.htm

Address here is 219.56.141.153
It just gives me a 404 Not Found
If you get a chance, can you take a peek?

Thanks,

Mike
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby Izzy » 15. November 2009 06:19

http://219.56.141.153/bizzo/a.htm
Gives me a page titled Hotmail, News, Sport, Music etc. Windows LIVE from MSN UK and looks like a redirect from a.htm

Is that the page you mean?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 06:21

Yay! Excellent!!!!!

Strange. I keep getting 404 Not Found
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 06:25

Thanks for checking! Actually, I watched your IP pop up in my firewall log as you connected. This is great! But I wonder why I am getting 404's here
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby Izzy » 15. November 2009 06:30

OK, at least your IP is now going where it should.

You can delete the index.php and the index.html in the htdocs folder as you don't need them now.
Replace them with an index.html file of your own which can be a blank file named index.html - helps with security of that folder.

http://localhost/xampp will get you to the Welcome Pages.

This is the address you type in your browser to get your page, check you are typing it correctly:
http://219.56.141.153/bizzo/a.htm

\xampp\apache\logs\error.log file will give you clues why you are having file not found issues (404 error).
Last edited by Izzy on 15. November 2009 06:37, edited 2 times in total.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 06:37

When I run the URL through TOR it connects! I get the page.

I know that this is probably off topic now, as we have established that pages are being served, but do you have any idea what might be preventing me from getting access here directly?
I'm running agnitum firewall and have given HTTPD unrestricted access. I also have the windows forewall running, and have given exceptions to both HTTP and HTTPS.
Oslo, I have Peerblock running, but that has not given any sign of dummy-spitting.

Well, anyway, I'm kinda happy. :-) :-) :-) F_cking REALLY happy actually!
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 06:39

I'll try it now from my daughter's machine, which has pretty minimal securatitty stuff on it.
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby Izzy » 15. November 2009 06:46

Replace the redirecting file a.htm with an index.html file like the one that was in the htdocs folder.

It just returns a message "It Works"
Code: Select all
html><body><h1>It works!</h1></body></html>
Just copy and paste into a text file and save as index.html in your htdocs\bizzo folder.
Address http://219.56.141.153/bizzo/ should find it and display the message "It Works".


Not sure if it has anything to do with being redirected from the a.htm file to another outside source making one of your configurations in a firewall to chuck a wobbly, or even your browser????.

What did the error.log file tell you?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 07:05

Done. It works fine thru TOR, but still pukes when I try to get it directly, with a 404 massage. Have turned off the Windows firewall, but no change.
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby Izzy » 15. November 2009 07:09

Beep! Beep! Mikey :D
Izzy wrote:\xampp\apache\logs\error.log file will give you clues why you are having file not found issues (404 error).
Drag the file into your opened text editor - notepad for example read the file at about the time you had your last 404 error as the error message is coming from the server.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 08:11

This is the message I get when I try to access; A user name and password are being requested by http://219.56.141.153. The site says: "WebAdmin"

And the Apache log says;
ERROR Client 192.251.226.206 file does not exist ...xampp/htdocs/favicon.ico, referer http //219.56.141.153

What is the favicon doing in there?
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby Izzy » 15. November 2009 08:34

mikexyz wrote:This is the message I get when I try to access; A user name and password are being requested by http://219.56.141.153. The site says: "WebAdmin"
You can't access xampp using just the IP - it has to have a full address like http://219.56.141.153/bizzo/

Just http://219.56.141.153 is not going to xampp or it would be denied access by that new security feature which only allows local traffic (localhost) access to xampp files, we already established this fact way back.

Also I believe you still have the index.php file in the htdocs folder as I get redirected to the xampp folder in the htdocs folder when I try and use just the IP - then I have an access denied message from the security feature, which BTW is what it is supposed to do.

Try clearing your browser's cache as you may be getting a cached page instead of the one you request.

http://219.56.141.153/xampp will give the security feature access denied message again.

http://219.56.141.153 is going to a firewall/router/modem or etc. web based configuration "WebAdmin" and is asking for your user/pass to access it - nothing to do with XAMPP.

IMHO somewhere in your WAN/LAN configuration the IP 219.56.141.153 is being interpreted as a local IP for you but not for us out on the Internet (clue perhaps).
I am not even sure you can access your own PC using the WAN IP, ICBW - a network guru may be able to answer that one or read the post by jdMorgan linked below.
http://www.webmasterworld.com/apache/3913468.htm

http://219.56.141.153/bizzo tells me that "IT Works" from down under.
So that is working as it should.
What do you see when you type in your browser http://219.56.141.153/bizzo?

BTW - TOR is a proxy server and behaves differently to Apache as you are going out of your PC to a TOR relay and then back into your PC again to Apache, that's why TOR is working and is much the same as what I am doing from here though not through a TOR relay.

mikexyz wrote:And the Apache log says;
ERROR Client 192.251.226.206 file does not exist ...xampp/htdocs/favicon.ico, referer http //219.56.141.153
Copy the xampp.ico from the htdocs\xampp\img folder into the htdocs folder then rename it favicon.ico and see if it helps...

...but is that the only "file does not exist" reference in the error.log file???
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: what address to use (absolute beginner)

Postby mikexyz » 15. November 2009 10:18

I'm more confused now than I was before I came here. Still, I am a persistant fellow, and on some other good day I will try again, but for now this has all become just a little too much of a weird puzzle for my regular sized brain.

For now I am going to simply pretend this has all just been a bad dream, and hope that the advice given on your link http://www.webmasterworld.com/apache/3913468.htm
is perhaps true.

One day this will all be as easy as falling off a bicycle, but I fear that day is a way off yet.

I do, quite sincerely, thank you for trying to help. :-)

Tired Mike
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

Re: what address to use (absolute beginner)

Postby mikexyz » 05. December 2009 07:15

I got it all sorted and am running well now... BUT

What are the requirements (if any) for someone to profess to being able to offer help here?
Izzy; you are a nice guy trying hard to help... but you wasted two whole days of my life!
mikexyz
 
Posts: 20
Joined: 14. November 2009 00:58

PreviousNext

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 125 guests