homepage Welcome to WebmasterWorld Guest from 54.167.11.16
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
ProxyHTMLURLMap and Flags
ProxyhtMLURLMap Apache rewrite flags
jackx




msg:4584279
 6:40 pm on Jun 14, 2013 (gmt 0)

Greetings,

Appreciate any and all help with this issue -

I am using Apache 2.2, and in using ProxyHTMLURLMap and in reading Apache documentation, it says that I should be able to include flags as in the following - ProxyHTMLURLMapfrom-patternto-pattern flags

When I code: ProxyHTMLURLMapfrom-patternto-pattern [c], Apache will not restart.

What am I doing wrong?

I should add that without the flag [c] Apache restarts fine.

thanks in advance

 

Dideved




msg:4584318
 8:23 pm on Jun 14, 2013 (gmt 0)

If Apache won't even start, then that almost certainly means there's a syntax error in your code. You'll have to post your real code if you want anyone to be able to help you spot that syntax error. Also, the error.log may give you more details about what's wrong.

jackx




msg:4584319
 8:36 pm on Jun 14, 2013 (gmt 0)

the issue is only when I use a flag, such as [c]

code:
ProxyHTMLURLMap from-pattern to-pattern [c]

remove the flag and apache restarts

code:
ProxyHTMLURLMap from-pattern to-pattern

phranque




msg:4584400
 2:42 am on Jun 15, 2013 (gmt 0)

the error.log may give you more details about what's wrong.

jackx




msg:4585463
 8:46 pm on Jun 18, 2013 (gmt 0)

most of the examples I've seen of ProxyHTMLURLMap don't include flags, just curious if in most cases they are not used?

phranque




msg:4585498
 11:21 pm on Jun 18, 2013 (gmt 0)

i would imagine if your requirements were to "Pass embedded script and style sections through untouched" then the [c] flag would be indicated.

what does your server error log say about the failed restart when you specify the [c] flag?

jackx




msg:4592182
 5:15 pm on Jul 11, 2013 (gmt 0)

Let me take another look at the logs

FamilyManFirst




msg:4607326
 7:23 pm on Sep 4, 2013 (gmt 0)

Try removing the square brackets. They're in the documentation to indicate that the field is optional.

New code should look like:
ProxyHTMLURLMap from-pattern to-pattern c

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved