Pages: 123Next
Current Page: 1 of 3
403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 11:00AM

sorry, i know theres a ton of these, i've searched these forums so much and tried so many things, but its still just not workin out.

when i goto [localhost] it works find, but when i try to go to [mydomain] it doesn't work, it says 403 forbidden you don't have permission to access or whatever. so i checked the log in D:\wamp\www\mydomain\logs and it says this

[Sun Feb 24 03:52:45 2008] [error] [client 192.168.0.13] client denied by server configuration: D:/wamp/www/mydomain

i've already tried the port thing with my firewall, and its even disabled now. i did the port forwarding in my stupid netgear gateway and it still doesn't work. any help would be awesome.

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 11:01AM

by any chance do u have a .htaccess file in your folder?

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: yfastud (Moderator)
Date: February 24, 2008 03:36PM


Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 08:01PM

haha, you and your website! jk, but no, i don't have an .htaccess file, and i actually already set up a virtual host like you said on your website. ok, i'll show you the htt-vhost file

NameVirtualHost *:80

<VirtualHost *:80>
ServerName mydomain

DocumentRoot D:/wamp/www/mydomain
ErrorLog D:/wamp/www/mydomain/logs/mydomain_error.log
CustomLog D:/wamp/www/mydomain/logs/mydomain_access.log common
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/wamp/www
ErrorLog D:/wamp/www/logs/error.log
CustomLog D:/wamp/www/logs/access.log common
</VirtualHost>

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 08:04PM

by the way, what the h is up with the it works! thing? i'm sick of seeing it cause i can't figure out how to change it, i know that sounds dumb, but when i goto [192.168.0.13] which is my computer, it goes to it, but when i go to localhost it works like it should. i went to htdocs and replaced it with what i want, and the www folder, and the folder inside that for my project.

this is my wan ip address that should be able to access my site outside of my lan
[24.179.194.32]
but i only get problem loading page



Edited 1 time(s). Last edit at 02/24/2008 08:06PM by iedoc.

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 08:13PM

aha got ur problel/ u have microsoft iis server installed!...... did u not know u had it?


this it works page is that server home page


open ur httpd.conf file is
c:/wamp/bin/apache/apache2/conf


change

Listen 80

to

Listen 8080


and change


Servername localhost:80

to

Servername localhost:8080



restart wamp
then in ur browser localhost will be iis homepage


localhost:8080 will be wamps

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 08:26PM

i don't think i knew that, but i already changed my ports to 8080, 8090 too, but now it just says forbidden when i try to go to my address [192.168.0.13]
also, i'm curious about the hosts file in the c windows system32 drivers etc. i didn't have one, i only had lmhosts, so i made a hosts file, i don't know if that has anything to do with it.

heres a list of what things do when i go to different things. (when its all set for port 80)

[localhost] WAMP5 Homepage

[mydomain] 403 forbidden

[127.0.0.1] it works!!!!

[192.168.0.13] it works!!!!

[24.179.194.32] problem loading page

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 08:29PM

this is a diaster of a setup


localhost and 127.0.01 should always bring you to the same place except for on symbian os..


you really need to uninstall iis or at least disable it

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 08:31PM

hahaha! i know, it feels like a disaster!

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 08:43PM

omg... i bet i know why ur seeing 403. did u left click wamp and press online?!

else ur sever is only local..

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 08:45PM

i know this is a stupid question, but i can't figure out how to disable that. i looked it up on google and they showed me but i can't find it in services. i think i might of half way deleted it in ad remove programs under windows services

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 08:46PM

haha, yeah its online

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 08:50PM

ye in control panel - add remove program- and it wil be on the list..

what version of windows are u running?

there is a whole section on ur start/programs menu for the ms server. u shud find unistall there

or at least the setup page. where u can diable it

iv only ever used windows server 2000.

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 09:23PM

YES!!!! Thank you so much! that was the problem, i just needed to get rid of that iis server. now my only problem is connecting from a remote computer, or from mine using my ip address. i just wanna make sure i got the right ip address. how do i find it? i think this is the right one, but it says problem loading page
[24.179.194.32]

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 09:39PM

find your own ip address?


well ur computers local ip address is found like this


start>run> type in cmd

cmd opens

type in ipconfig


ur ipaddress will show up as IP ADDRSSS

this shud be used in ur router to port forward 80 requests to 8080 if ur server is running on it


also in ur https.conf file ur servername shud be

Servername IPADDRESS:8080

LIKE

Servername 192.168.1.1:8080






to get ur routers external ip address go to this website [www.whatsmyip.org]

its the number printed in huge writing!


again if ur using port 8080

in ur browser u shud be tying in xx.xx.xxx..xxx:8080



i personally leave wamp on port 80
set up a port forward in my router to take incomming 8080 requests and change to to 80


like this




external ip:8080


comes into router

router passes this onto

internal ip:80

apache looks for anything on port 80

ur pages gets diplayed






hope u follow this!

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 09:49PM

just a quick question, for http.conf do i need my external or computer ip? i use port 80

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 09:50PM

internal ip


listen 80

servername 192.168.xx.xx:80

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 09:59PM

i'm sorry, but i did all that, port forwarding and changed the servername. but it still goes to problem loading page when i type in my external ip address

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 24, 2008 10:02PM

wat router do u have?



it should be like this



external port range 8080 -8080

ipaddress 192.168.xx.xx

internal port 80





then you connect to ur computer external ip address like 68.41.35.35:8080

Options: ReplyQuote
Re: 403 forbidden/ remote connection
Posted by: iedoc (---.dhcp.dlth.mn.charter.com)
Date: February 24, 2008 10:31PM

i have a stupid netgear, i hate it, i used to have a wrt54g, but whatever. i use port 80 though, and i have port forwarding for 80-80 ip 192.168.0.13. should i add one for 8080-8080 too ? where did you get the 68.41.35.35:8080 from?

Options: ReplyQuote
Pages: 123Next
Current Page: 1 of 3


Sorry, only registered users may post in this forum.