Forbidden
Posted by: sergio.f.m (---.169.69.9.optimus.pt)
Date: November 14, 2006 11:41PM

Hi,

I´ve just install Wamp in home and i cannot view my web site from other places from the internet. My dns name is [exemple.no-ip.org]. The error is:

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

Please help me.

Thanks

Options: ReplyQuote
Re: Forbidden
Posted by: CyberSpatium (71.237.217.---)
Date: November 15, 2006 07:53AM

have you changed anything in your httpd.conf file? also, make sure your server is in online mode. and make sure you have correctly pointed your ip address to your no-ip account. in technical terms this means you need to create an A record to tie your ip address to your domain:
exemple.no-ip.org A your.ip.address.here

if you have edited anything in your httpd.cofn file, change all the settings you changed back to the defaults. now that you have the default httpd.conf file, find this lineL
ServerName localhost:80

change it to:
ServerName exemple.no-ip.org:80

CyberSpatium
WAMP English Forum Admin

Options: ReplyQuote
Re: Forbidden
Posted by: oceanyhy (---.netvigator.com)
Date: November 20, 2006 10:03AM

Hello,

Me too!
I am a beginner.
I use no-ip instead my ip address, my homepage cannot read at the other computer browser, but I can access my homepage with my browser.
I have changed the httpd.conf as below:

ServerName oceansy.no-ip.org:3288

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:3288
Listen 3288

AddHandler cgi-script .cgi
<Directory "/var/www/html/php">
Options ExecCGI
</Directory>



one more question:
UserDir "c:/wamp/Apache2/users/" ---need to add new folder(users) in wamp/Apache2/ or change to c:/My Documents/My Webite

#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Be especially careful to use
# proper, forward slashes here. On Windows NT, "Personal/My Website"
# is a more appropriate choice.
#
UserDir "c:/wamp/Apache2/users/"

#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
# You must correct the path for the root to match your system's configured
# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website"
# or whichever, as appropriate.
#
#<Directory "C:/Documents and Settings/*/My Documents/My Website">
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>



Post Edited (11-20-06 10:17)

Options: ReplyQuote
Re: Forbidden
Posted by: CyberSpatium (71.237.217.---)
Date: November 20, 2006 11:27AM

change:
ServerName oceansy.no-ip.org:3288


to:
ServerName oceansy.no-ip.org:80

change:
Listen 3288

to:
Listen 80

change:
UserDir "c:/wamp/Apache2/users/"

to:
#UserDir "c:/wamp/Apache2/users/"

safe the file and restart apache for the new settings to take effect.


CyberSpatium
WAMP English Forum Admin

Options: ReplyQuote
Re: Forbidden
Posted by: oceanyhy (---.netvigator.com)
Date: November 20, 2006 03:08PM

It is great!!!

My homepage can read by the other browser.

Due to port 80 have been blocked by ISP, so I have change port no. to xxxxx.

I think that it may be have trouble to link phpmyadmin and sqlitemanage server, how can I change path?

for example:
[localhost]
[localhost]

[oceansy.no-ip.org]
[oceansy.no-ip.org]

any setting may be changed else?

Thank you very much!!!!

Options: ReplyQuote
Re: Forbidden
Posted by: yfastud (72.236.169.---)
Date: November 20, 2006 03:13PM

phpmyadmin and sqlitemanager is locked from outsider by default and you should leave it as is for your own security purpose

Options: ReplyQuote
Re: Forbidden
Posted by: CyberSpatium (71.237.217.---)
Date: November 20, 2006 04:35PM

yes, you should limit access to phpmyadmin and sqlitemanager to you only. wamp comes with access to phpmyadmin and sqlitemanager to allow localhost (you) only. you just need to complete one more step to further secure you phpmyadmin by adding a password for the default mysql root user.

here is a link to my step-by-step tutorial on correctly setting up privileges for the mysql root user:
[forum.wampserver.com]


CyberSpatium
WAMP English Forum Admin

Options: ReplyQuote
Re: Forbidden
Posted by: mattsop (---.dsl.frs2ca.sbcglobal.net)
Date: November 20, 2006 04:44PM

i'm having the same problem here. when i go to localhost it still works, but not by my ip. I tried changing the servername to my ip, but still no luck. any suggestions?

Options: ReplyQuote
Re: Forbidden
Posted by: mattsop (---.dsl.frs2ca.sbcglobal.net)
Date: November 20, 2006 04:58PM

n/m i found the put onilne function and that fixed my problem.

Options: ReplyQuote
Re: Forbidden
Posted by: alifax19 (95.77.197.---)
Date: March 21, 2010 03:53AM

Hy
I use no-ip instead my homepage cannot read at the other computer browser, but I can access my homepage with my browser, if i tipe my local ip. butt with alparcs.no-ip.org i cant acces : The connection has timed out.
I have changed the httpd.conf as below:

ServerName alparcs.no-ip.org:80

Options: ReplyQuote
Re: Forbidden
Posted by: yfastud (Moderator)
Date: March 23, 2010 03:31AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.