Reply
Custom 403 error with htaccess
Old 10-13-2007, 07:05 AM Custom 403 error with htaccess
Junior Talker

Posts: 4
Name: Soheil
hi everyone

i was tryin to make a coustom 403 error page....

i was wonder if i can make something like this in htaccess:

ErrorDocument 403 403.php?requested=$xxxxx

i was to know if is there anything that i can pass requested url through query string to a php file....

thxx
s0h31l is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-15-2007, 03:04 AM Re: Custom 403 error with htaccess
chrishirst's Avatar
Super Moderator

Posts: 13,626
Location: Blackpool. UK
the requested URI is passed to the error handler page by the server, you don't need to do anything other than decode it.
The format is

errorcode;fully_qualified_URI_of failed_request
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Custom 403 error with htaccess
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11051 seconds with 12 queries