On Thu, Aug 30, 2007 at 02:25:31PM -0700, Anthony Ettinger wrote:

[snip]

> So I need to figure out how to convert "/path/to/file" into
> ("$root/path/to/file")
> Where $root could be /Dev1, /Dev2, /Dev3, etc etc. depending on where
> the
> sources are kept.


Have a look at Apache2::RequestUtil
Then you can get via $r->document_root the DocumentRoot of your apache.

Hopefully  helps
tschazu
erkan


-- 
über den grenzen muß die freiheit wohl wolkenlos sein 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to