Internet Related/Filtering/Firewall Thread, 403 Error in Technical; Ok, so new web hosts, with a new domain.
I'm pointing our old domain's ( co.uk ) www dns record ...
24th February 2010, 12:17 AM #1
- Rep Power
Ok, so new web hosts, with a new domain.
I'm pointing our old domain's ( co.uk ) www dns record to the new host ( .org.uk). all works fine, with the exception of two php files, which when browsing the site using the old domain address (.co.uk) gives a 403 error, which I can see is access denied (normally occurring as random browsing on sites is denied)
Why is it denying access when it's reading the rest of the site ok? Is it because it's retaining the .co.uk in the address bar and therefore thinking it's at .co.uk when actually reading the .org.uk. Would using forwarding instead of changing the dns records fix this?
IDG Tech News
24th February 2010, 12:31 AM #2
I would just use a HTML re-direct
<meta http-equiv="refresh" content="0; URL=http://www.DOMAINNAME.org.uk" />
24th February 2010, 08:04 AM #3
Why would you use a HTML redirect when you have a scripting language available and can send a 301 Moved Permanently, which the client is expected to cache for next time?
Thanks to powdarrmonkey from:
pwds (24th February 2010)
By jonathanhaddock in forum Internet Related/Filtering/Firewall
Last Post: 22nd April 2009, 05:08 PM
By ezzauk in forum Windows
Last Post: 24th June 2008, 02:05 PM
By RTi in forum EduGeek Joomla 1.0 Package
Last Post: 10th June 2008, 10:56 PM
Last Post: 4th June 2008, 09:13 AM
By pickman in forum ICT KS3 SATS Tests
Last Post: 13th February 2007, 04:08 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)