Re: Multi-User Security on *nix using mod_rewrite
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41717
interpreted = N
texte = Why not just remove the webcatalog handler from the main httpd,conf file andadd to each virtual host as needed ..We do this .. Mean sone site can map- .html to webcatalog and the next canbe standard static Apache files ..As follows:
ServerName www.blackpepper.co.nzOptions -Indexes FollowSymLinks IncludesNoExecDocumentRoot /Library/WebServer/WebSites/www.blackpepper.co.nzTransferLog /var/log/httpd/www.blackpepper.co.nz_access-logErrorLog /var/log/httpd/www.blackpepper.co.nz_error-logServerAlias www 210.55.24.6 localhost 127.0.0.1 blackpepper.co.nzAddHandler webcatalog2-handler .htmlNameVirtualHost 210.55.24.6Alain> After reading through the docs on mod_rewrite I believe that it> could be used to secure, on a directory or host basis, the usage of> the WebDNA Engine based on file extension. This could be a great> way to provide standard hosting on the same machine as WebDNA if it> really could be made to work. I haven't yet started in on it> because I wanted to know if anyone has already tried it. If so,> does it work. If not, why not. It seems, as it runs off of> regular expression, that explicit denial of any registered> extension processed by WebDNA could be rewritten to an error page> or the like and that this denial could be either file path based or> host header based or both.> > Any mod_rewrite gurus out there that want to comment?> > Mike> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Why not just remove the webcatalog handler from the main httpd,conf file andadd to each virtual host as needed ..We do this .. Mean sone site can map- .html to webcatalog and the next canbe standard static Apache files ..As follows:ServerName www.blackpepper.co.nzOptions -Indexes FollowSymLinks IncludesNoExecDocumentRoot /Library/WebServer/WebSites/www.blackpepper.co.nzTransferLog /var/log/httpd/www.blackpepper.co.nz_access-logErrorLog /var/log/httpd/www.blackpepper.co.nz_error-logServerAlias www 210.55.24.6 localhost 127.0.0.1 blackpepper.co.nzAddHandler webcatalog2-handler .htmlNameVirtualHost 210.55.24.6Alain> After reading through the docs on mod_rewrite I believe that it> could be used to secure, on a directory or host basis, the usage of> the WebDNA Engine based on file extension. This could be a great> way to provide standard hosting on the same machine as WebDNA if it> really could be made to work. I haven't yet started in on it> because I wanted to know if anyone has already tried it. If so,> does it work. If not, why not. It seems, as it runs off of> regular expression, that explicit denial of any registered> extension processed by WebDNA could be rewritten to an error page> or the like and that this denial could be either file path based or> host header based or both.> > Any mod_rewrite gurus out there that want to comment?> > Mike> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Alain Russell
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Problem displaying search result (1997)
Calculating Age from DB fields (2003)
Snippet for finding unused Header Fields in the Orders.db (2003)
WebCatalog stalls (1998)
Server Load (2000)
Emailer Message not seen in Emailer Code FAQ (2002)
FW: It gets better... posting problems + Webcat 3.0.7 avail able - did anyone know? (2000)
Items in cart (2000)
syntax question, not in online refernce (1997)
So many lookers, hey smith micro (2003)
Pref settings? (1998)
Remote delivery (1998)
weening me off overwriting form variables. John Peacock? (2000)
emailer error -108 (1997)
A little syntax help (1997)
how to use encrypt and searching (1998)
Re[2]: OT: Sending email to lots of subscribers (1999)
lookups or math? (1998)
6.x on MacOSX 10.3.9 apache 1.73 (2006)
WebCat2b13MacPlugIn - more [date] problems (1997)