httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elliott sterling <elliottlsterl...@gmail.com>
Subject [users@httpd] 404 rewrite error using special character \
Date Fri, 19 Aug 2016 05:20:28 GMT
 
 
I learned that the error was that it was looking for folder or directory "/#".    So after
I created that folder I get endless redirect loop. So I am researching how to fix that.  

 
 
 

 
 
>  
> On Aug 19, 2016 at 12:45 AM,  <Igor Cicimov (mailto:icicimov@gmail.com)>  wrote:
>  
>  
>  
>
>  
>
>  
> On Fri, Aug 19, 2016 at 12:16 PM (x-apple-data-detectors://1), elliott sterling  <elliottlsterling@gmail.com
(mailto:elliottlsterling@gmail.com)>  wrote:
>  
> >  Hello,
> >  
> >  My project for this client is such that his directories contain "#" in
> >  the folder names, #test, and other symbols.    The '#' is the only one
> >  that gives me problems because I know its a anchor and htacess ignores
> >  it.    My rewrite code is:
> >  
> >  RewriteRule [^\#] \%23
>  
>
>  
> Try adding NE flag at the end:
>  
>  RewriteRule ^\# \%23 [R,L,NE]
>  
>  
> >  
> >  My goal was to convert the '#' to %23 because it works as
> >   example.com/%23test/test.html (http://example.com/%23test/test.html)  but not
as  example.com/#test/test.html (http://example.com/#test/test.html).
> >  The error is get is:
> >  
> >  The requested URL /# was not found on this server.
> >  
> >  So I am on the write track as when i try ^# %23 the # is ignore or
> >  other variations give me 500 error.    Thanks for any help.
> >  
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail:  users-unsubscribe@httpd.apache.org (mailto:users-unsubscribe@httpd.apache.org)
> >  For additional commands, e-mail:  users-help@httpd.apache.org (mailto:users-help@httpd.apache.org)
> >  
>    
>            
Mime
View raw message