Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / how to install apache to windows vista?

Author
Message
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 18:26
Hi. for some reason, when i port forward apache to 80, i cant access my website from my external ip on windows vista.. can someone help?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 18:28
You can't usually access your own external IP from within your network.

You would use the local IP while everyone else uses your external IP.

Also, to make your life a *lot* easier, you might want to look into using WampServer:

http://www.wampserver.com/en/download.php

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 18:42
i used to be able to go to http://myextip w/ ease on my pentium 4 b4 it got a virus, and took away my hosting abilities. im on a new laptop, and would like it to work the same way if possible
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 18:48 Edited at: 11th Apr 2009 18:49
Unless you're off your local network, I would say it's probably impossible, and not related to any virus.

Most modems/isps don't support loopback.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 18:56
comcast does. so can u plz tell me what is going on?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 18:57
What's the IP. If I can access your apache server, then it's a loopback issue and everything's fine and you need to use your local IP like I noted.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 18:58
i will email it to u
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 19:01
done, check ur email
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 19:03 Edited at: 11th Apr 2009 19:05
Got it. I received the following message:

Quote: "Forbidden

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


This means the IP works and Apache is operational, but apache is not configured correctly to display any page. Likely it's not set to display the contents of a directory, and you have no index.html/index.php in the /webroot directory so it's got nothing to deliver.

It could be other problems too, but that's what I'd check first. Anwyay, like I said, to access it, use your local IP, like 127.0.0.1 or 192.168.x.x.

[edit] there it goes. I see you got wamp up and running on that ip now. [/edit]

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 19:04
ok, editing.

ill let u know.

stay on here
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 19:12
woops, didnt see ur edit there so it works?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 19:13
Er, sorry. Yep, workin fine.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 19:14
awesome!

Im so happy i can host again
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 19:15
@jerico, thx for ur help

i really appreciate it
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 19:18
No prob

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 19:18
just 1 question.

how do i change my mysql password so it has a password?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 19:20 Edited at: 11th Apr 2009 19:23
Check this out:

http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-windows

[edit] You will need to edit your phpmyadmin configuration after changing the root password. It's pretty easy, just open up the cfg file (or whatever it's titled) and edit it per the instructions in the file.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 20:32
right, jerico, i think u may have used the wrong ip or somethin, try connecting again, cuz both my friends tried it, and couldnt connect
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 20:38
No way I could have accessed the wrong IP. It was working. Trying now though, it's not working. Have you tried stopping and starting Wamps again?

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 20:40
try it now.
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 20:45
also, can u tell me what folder the password changer is in?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 20:45 Edited at: 11th Apr 2009 20:46
No luck. If you open up services.msc (start > run), you can see if your apache server is turning on. And if not, it might give you an error message as to why.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 20:51
error?! :S

see attached

Attachments

Login to view attachments
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 20:53 Edited at: 11th Apr 2009 20:54
That would explain why it's not working. Check your system event log for information about why it's not starting.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 20:57
apache BETTER not be a virus! ><

and how EXACTLY do i see what error it is for the microsoft windows vista?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 21:03 Edited at: 11th Apr 2009 21:04
haha. Apache is the HTTP server. It's what servers pages to visitors. It's not starting for some unknown reason. The error log will tell you what that reason is. To use the event viewer, see here:

http://www.computerperformance.co.uk/vista/vista_event_viewer.htm

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 21:10
found it.

see attached

Attachments

Login to view attachments
NeX the Fairly Fast Ferret
20
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 11th Apr 2009 21:14
Is it the same event all the way through? Sounds like the service doesn't have read/write permissions to its own logs but I know nothing about Apache so meh.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 21:15
yes. i think so. what should i do, jerico?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 21:22
That's strange. I'm kind of at a loss. What were you doing between when I tested it and when your friend said it didn't work?

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 21:23
nothing? :S

is it b/c vista has write permission or somethin? if so, how can i fix?

can anyone help?
NeX the Fairly Fast Ferret
20
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 11th Apr 2009 21:26
Read/write permissions have been in place in Windows since the introduction of NTFS. I've never seen an option to change another users' permissions though; only your own.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 21:28
so what can i do?

can anyone help me figure out what this error actually means?
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 21:44
jerico? anyone?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 21:50
Sorry, I was out. I don't know. Try running "apache start" from a command line and see if it gives you a meaningful error.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 21:53
nope. just gave me a cmd batch error. --

can anyone else please help?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 21:57 Edited at: 11th Apr 2009 21:58
Without knowing the exact error, it's pretty hard (im betting the write errors are just silent errors). You could be conflicting with another program that's using port 80. Skype, for instance, uses port 80. Shut off skype or set it to use a different port and you'll be fine.

I can't really help further until I get home and look at how my copy of wampserver is setup in vista.

Also, I assume you uninstalled apache or whatever you were using before you installed wampserver?

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 22:18
i hope i did :S

when will u be home?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 11th Apr 2009 22:38
Itll be a few hours yet. Not exactly sure. Could be soon, could be 5 hours.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 22:40
well, when u get home & online, go ahead and post in this post saying ur home

ill be here all day
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 11th Apr 2009 22:46
Would this be better if you two solved this over email? If there's a nice fix you can post it here, but this just sounds like a chat room.

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 22:50
id prefer to do it here. email takes forever
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 11th Apr 2009 22:53 Edited at: 11th Apr 2009 22:54
Mugen Wizardry
User Banned
Posted: 11th Apr 2009 22:54
thanks. tried that. the prob im having is above. it cant open logs ><
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 11th Apr 2009 22:57 Edited at: 11th Apr 2009 23:04
Are you using xampp?

If your on vista make sure you install it in C: not program files. Vista has a different permissions on the Program Files folder to all the other windows OS's.

Also you should be able to access apache's error logs not using the windows event viewer. Find your apache folder and look for a folder called logs. In there there should be something called error.log or something like that. Open it up with notepad and post the contents back here.

Also we can check if apache is running. Goto start->run type services.msc then scroll down the list and look for Apache. Tell us what the status says.

So 3 things:


1. Tell us where it is installed
2. Look for error logs and post it
3. Tell us what the status of the apache service is

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 23:08
right. i put it on my usb D:/ incase u wanted to know
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 11th Apr 2009 23:09 Edited at: 11th Apr 2009 23:09
Ok please answer other questions above, i edited post

Mugen Wizardry
User Banned
Posted: 11th Apr 2009 23:42
thank u friends!

it works!

xampp did it!
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK

Login to post a reply

Server time is: 2025-06-05 21:24:24
Your offset time is: 2025-06-05 21:24:24