Results 1 to 2 of 2

Thread: Custom PHP Error pages w\same url

  1. #1
    Join Date
    Nov 2006
    Location
    Northeast USA
    Posts
    408
    Thanks
    8
    Thanked 30 Times in 28 Posts

    Default Custom PHP Error pages w\same url

    3RD TIME I REWRITE THIS POST [I hate Macs and there stupid controls]
    -----
    Hi guys!
    Is there any way that I can have a custom PHP error page while keeping the same url. I have custom error page already but it changes the url to mywebsite.com/error.htm instead of a php page keeping the same url such as mywebsite.com/678tgihf.yerw7 Is there any server side stuff (I have my own server) or httpd.conf or .htaccess?
    Thanks,
    -Ben -- THE DYNAMIC DRIVERS
    My Links: My DD Profile||My Youtube Video Tutorials||DD Helping Coders||DD Coders In Training
    I told my client to press F5, the client pressed F, then 5, *facepalm*

  2. #2
    Join Date
    Jan 2008
    Posts
    32
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Use Apache's RewriteRule.

Bookmarks

Posting Permissions

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