Connecting Tech Pros Worldwide Help | Site Map

Using 'pipe' in link gives 403 forbidden error?

Familiar Sight
 
Join Date: Sep 2008
Posts: 252
#1: May 18 '09
When i use a 'pipe' in a link it gives a 403 forbidden error, an example of the link would be.
Expand|Select|Wrap|Line Numbers
  1. http://www.mysite.com/details-12-name|02052009|About me
If i use - or ~ it works fine but i need to use the | in the links??
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,936
#2: Jun 3 '09

re: Using 'pipe' in link gives 403 forbidden error?


Quote:

Originally Posted by ziycon View Post

When i use a 'pipe' in a link it gives a 403 forbidden error, an example of the link would be.

Expand|Select|Wrap|Line Numbers
  1. http://www.mysite.com/details-12-name|02052009|About me
If i use - or ~ it works fine but i need to use the | in the links??

I guess it's because there are certain characters that aren't allowed in file names / directories, and, as it is, apache is interpreting your url as a file name or directory. Of course, because you have disallowed characters, apache gives you 'access forbidden'.
Reply