no access over web
Posted by: carl (---.bulldogdsl.com)
Date: March 08, 2006 04:43PM

Hi I have created a database and form to display the data in the database in the form all works well when using localhost but not when I use my ip address over the internet i get the error maessage page cannot be displayed and cannot find server as the title bar. Do I have to change something in the config.inc.php or something to allow access from over the web to?

Any help and ideas are greatly appreciated, thanks in advance ppl.

Options: ReplyQuote
Re: no access over web
Posted by: pete (---.gtcust.grouptelecom.net)
Date: March 08, 2006 05:07PM

6. I try to access to WAMP5 pages from outside of my local network and I am automatically redirected to 12.7.0.0.1.

This is caused by one of apache's directive: UseCanonicalName. Open your httpd.conf and replace this line

UseCanonicalName On

by

UseCanonicalName Off

Restart your apache service and everything should work.

Options: ReplyQuote
Re: no access over web
Posted by: carl (---.bulldogdsl.com)
Date: March 08, 2006 06:08PM

Hi pete thanks for that i have looked at the file and it and it was already set to off. any other idears?

Options: ReplyQuote
Re: no access over web
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: March 08, 2006 06:38PM

There are two things you can try. edit the Listen setting in your httpd.conf file.

Listen 80

Add your ip address to that line like this:

123.456.789.012:80

save the file, restart apache and see if it works.

you can also try this:

edit your httpd.conf file, find

#NameVirtualHost

change this too:

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin root@localhost
DocumentRoot C:/wamp/www
ServerName localhost
ErrorLog C:/wamp/apache/logs/error.log
CustomLog C:/wamp/apache/logs/access.log common
<Directory "C:/wamp/htdocs">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

save the file, restart apache and see if it works.

Options: ReplyQuote
Re: no access over web
Posted by: carl (---.bulldogdsl.com)
Date: March 08, 2006 07:55PM

Got it working now, thanks CyberSpatium and pete!

Options: ReplyQuote


Sorry, only registered users may post in this forum.