+ Post New Thread
Results 1 to 3 of 3
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 ...
  1. #1

    Join Date
    May 2007
    Location
    Hale Barns
    Posts
    211
    Thank Post
    39
    Thanked 8 Times in 2 Posts
    Rep Power
    16

    403 Error

    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?

    Cheers


    Nick

  2. #2
    Devontechie's Avatar
    Join Date
    Nov 2007
    Location
    UK
    Posts
    897
    Thank Post
    181
    Thanked 200 Times in 163 Posts
    Rep Power
    71
    I would just use a HTML re-direct
    Code:
    <html>
    
    <head>
    <title>Redirecting you...</title>
    <meta http-equiv="refresh" content="0; URL=http://www.DOMAINNAME.org.uk" />
    </head>
    
    <body>
    
    </body>
    
    </html>

  3. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    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?

  4. Thanks to powdarrmonkey from:

    pwds (24th February 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. ISA 2006 gives 12202 (403 forbidden) error
    By jonathanhaddock in forum Internet Related/Filtering/Firewall
    Replies: 0
    Last Post: 22nd April 2009, 04:08 PM
  2. Google 403 Error
    By ezzauk in forum Windows
    Replies: 7
    Last Post: 24th June 2008, 01:05 PM
  3. Error 403 Forbidden when trying to logon to frontend
    By RTi in forum EduGeek Joomla 1.0 Package
    Replies: 6
    Last Post: 10th June 2008, 09:56 PM
  4. MVLS: 403 Forbidden Error
    By Gatt in forum Windows
    Replies: 3
    Last Post: 4th June 2008, 08:13 AM
  5. 403 error
    By pickman in forum ICT KS3 SATS Tests
    Replies: 2
    Last Post: 13th February 2007, 03:08 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •