using regex in server-parsed directive
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > using regex in server-parsed directive




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    using regex in server-parsed directive  
David Bear


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 01:51 AM

I would like to do

AddHandler server-parsed s?html?

is this legal. I can't find any examples on this.  I've tried it and it
seems to be ignored.

running configtest doesn't return any error messages. Any suggestions?

--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --





[ Post a follow-up to this message ]



    Re: using regex in server-parsed directive  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 07:51 AM

On 2005-09-20, David Bear <david.bear@asu.edu> wrote:
> AddHandler server-parsed s?html?
> is this legal.

Don't think so.

> I've tried it and it seems to be ignored.

Then is probably non legal.

Davide

--
Windows 95 has been operating for 2 hours, 32 minutes. No errors reported. C
ALL
GUINESS BOOK OF WORLD RECORDS NOW!





[ Post a follow-up to this message ]



    Re: using regex in server-parsed directive  
Richard Antony Burton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 12:54 PM


"David Bear" <david.bear@asu.edu> wrote in message
news:1309557.amoLhfCkum@teancum...
> AddHandler server-parsed s?html?
>
> is this legal. I can't find any examples on this.  I've tried it and it
> seems to be ignored.

It's probably legal, and will probably work fine if you have a file with the
extension .s?html? But the AddHandler directive doesn't have wildcard/regex
support, so it isn't going to do what you want it to. You'll have to add
separate directives for each combination.

Richard.







[ Post a follow-up to this message ]



    Re: using regex in server-parsed directive  
HansH


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:07 PM

"David Bear" <david.bear@asu.edu> schreef in bericht
news:1309557.amoLhfCkum@teancum...
> AddHandler server-parsed s?html?
>
> is this legal.
Yes ... but IIRC literal, not as a regex, try
AddHandler server-parsed shtml html htm

HansH







[ Post a follow-up to this message ]



    Re: using regex in server-parsed directive  
David Bear


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 01:49 AM

HansH wrote:

> "David Bear" <david.bear@asu.edu> schreef in bericht
> news:1309557.amoLhfCkum@teancum... 
> Yes ... but IIRC literal, not as a regex, try
> AddHandler server-parsed shtml html htm
>
> HansH

This worked. thanks

--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:29 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register