Pages: 12Next
Current Page: 1 of 2
Fordidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 10, 2012 07:07PM

I'm getting the forbidden error.

Running Win 7
WAMP 2.2
My icon is green

In the not to distant past Steve was good enough to sort me out through TeamViewer 7. At that time I was running Win 8 preview, didn't like it so switched back to 7. Had to reinstall all my software, and now I'm having a problem with WAMP.

I hesitate to ask but could you sort me out one more time through TeamViewer 7, I promise not to change anything.

Thanks in advance for your help.

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 10, 2012 07:08PM

no problem bob, just send me login details and ill check it out smiling smiley

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fordidden
Posted by: Fofana (---.bb.netvision.net.il)
Date: October 10, 2012 11:43PM

Hi All,

Am using Windows8 I've installed WampServer all features are working fine but when ever I try to open

phpmyadmin to creat a database I got an error message that " This error (HTTP 403 Forbidden) means that

Internet Explorer was able to connect to the website, but it does not have permission to view the webpage."

I really need help.

Thank you.

Options: ReplyQuote
Re: Fordidden
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: October 11, 2012 01:34AM

You need to edit your HOSTS file to add this line

c:\windows\system32\drivers\etc\hosts

127.0.0.1 localhost



The hosts file is protected by windows, in order to save it you must have Administrator privilages.
Vista/W7/W8 you may think you are an Administrator BUT YOU ARE NOT.

To successfully save the hosts file do this to launch your editor with Admin Privilages.

Locate your editors icon on the desktop or from the Start menus ( notepad will do if you have nothing else )
left click + shift over your chosen editor icon - will show a menu.
select "Run As Administrator" from the menu.
Navigate your editor to the c:\windows\system32\drivers\etc\hosts file.

When you have made changes you will now be allowed to save them.

Options: ReplyQuote
Re: Forbidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 11, 2012 04:45PM

I'm not sure who Riggs's answer was for, but my hosts file is as it's suppose to be.

I think Steven is going to sort me out through TeamViewer

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: October 11, 2012 05:06PM

My answer was for you.

I am assuming that you either did not have ip 127.0.0.1 associated with localhost
127.0.0.1 localhost

or being W8 having ::1 associated with localhost ( that the ipV6 version of 127.0.0.1 )

If you have ::1 associated with localhost all may appear to work, its quite ok to run a IPV6 network but the security in the c:\wamp\alias\phpmyadmin.conf file will not work. In fact it will give you a Forbidden message as that uses an

Allow from 127.0.0.1

syntax. Only allowing access from that ip for security reasons. So you can only acccess phpmyadmin from the local machine even if you allow access to your site(s) from the whole internet!

Options: ReplyQuote
Re: Forbidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 11, 2012 10:15PM

Riggs - I'm running Win 7

I'm sure my problem is in Php.ini but I just don't understand the order allow deny thing.

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 11, 2012 10:29PM

bob are you free?
i logged in but i keep mssing you...

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fordidden
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: October 11, 2012 11:20PM

Bob, Steven and I bumped into each other on your machine via TeamViewer while fixing you problem.

Now thats an intersting new social network.

Think you will find it is fixed.
Steven did most of it so thank him not me.

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 11, 2012 11:21PM

yes it was actually a great social network!!! smiling smiley

i enjoyed that

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Forbidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 12, 2012 04:26AM

Steve & Riggs I think you for your effort but I'm still getting the forbidden error. How do we set up a time for TeamViewer? I think we must be several hours apart. I'm in US Mountain Standard time and of course it's now daylight savings time. Let me know and I'll make a point to be here.

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 12, 2012 07:27AM

can you expalin where you are getting forbidden?


i double checkeed it last night,,,


maybe we were using a different browser, so try clear the history,

ill log back in today as soon as you mail me,

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fordidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 12, 2012 02:17PM

I have a couple websites I work on, one is non PHP and the other is PHP. I can access the non PHP one but I get the forbidden error on the PHP one and on WAMPSERVER homepage.

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 12, 2012 02:21PM

Sorry Steve I didn't answer the browser question. I use Firefox, emptied the history and still got the error.

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 12, 2012 02:47PM

ok give me login details please

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fordidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 12, 2012 02:54PM

I just discovered that I can put localhost/Dowell in as the URL I can access that site. The same with WAMPSERVER Homepage, however when I try to use a link on the WAMPSEVER Homepage it just adds the link to the URL. Also when I try to use my Bookmark to the Dowell site which is [192.168.1.102] (which used to work) I get the forbidden error. I changed all my Bookmarks to 127.0.0.1 instead of 192.168.1.102 and now it everything works. Is there anyway to make the 192.168.1.102 (which is the IP of this machine) work so the sites could be accessed from my laptop?

Guys thanks for all your efforts.

Bob

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 12, 2012 03:01PM

just left click wamp > put online

this will allow 192.x.x.x to work


that was not the issue you were having orginally tho, we had to make some changes due to ipv6 last night

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fordidden
Posted by: mustafasa (---.174.225.85.dynamic.ttnet.com.tr)
Date: October 12, 2012 04:07PM

Just installed and had the same problem on Windows 7 and local intranet.
I could connect to localhost on the local machine but could not connect with the real ip from local machine or any other machine.

Checking arounf I changed the line in httpd.conf as below

#
# Controls who can get stuff from this server.
#
# Online --> Require all granted

# onlineoffline tag - don't remove

Require all granted

I was hoping that it should change when I put the server online, but no. I did it manually and it is ok now.



Edited 1 time(s). Last edit at 10/12/2012 04:08PM by mustafasa.

Options: ReplyQuote
Re: Fordidden
Posted by: stevenmartin99 (Moderator)
Date: October 12, 2012 04:23PM

remove the space between

# onlineoffline tag - don't remove

Require all granted


to


# onlineoffline tag - don't remove
Require all granted


and toggle the online/offline switch twice, then it will work

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Fordidden
Posted by: rdowell2002 (199.47.67.---)
Date: October 12, 2012 05:24PM

Where does this go, I tried to edit httpd.conf by adding the above, still doesn't work. I probably did something wrong.

Bob

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.