Bluehost.com Web Hosting $6.95

Writing Regular Expressions in Apache?

This is a discussion on Writing Regular Expressions in Apache? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello all, I'm trying to configure apache to look at a series of user directories on another server I'...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-10-2006
achesser@hotmail.com
 
Posts: n/a
Default Writing Regular Expressions in Apache?

Hello all,


I'm trying to configure apache to look at a series of user directories
on another server


I've added
UserDir "//server-001/*"


and found it works ... but as you may well realize, that's a bit of a
security hazzard


so i went on to try
UserDir "//server-001/*/public_html"


and found it will not work ... the error log shows that when using the
first directive
http://localhost/~username resolves properly to "//server-001/username"

however when using the second it somehow gets set to looking for
"C:/docroot/~username" including the tilde


I'm running Apache/2.0.55 (Win32) on a windows XP-Pro machine
a bug perhaps? anyone have any suggestions? there may be a way to use
regex or alias to add the trailing "/public_html" to the UserDir


I've also noticed that if i try to include (un-comment) any sort of
additional <directory> statement, i get an error when trying to start
up the
server


any ideas on a way i can get this thing up and running?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0