[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

restrict apache user cgi-bin scripts to access cross doc_root



Hello list,

The situation is:

I'd like to restrict /home/xxx/public_html/cgi-bin/* to access files
other than /home/xxx/public_html/. Is it possible? Say, I have a
VirtuahHost at /var/apache_vh/ on the same machine. I hope other cgi
scripts will have no chance to touch into that dir. In PHP4, I can use
doc_root and Safe_mode = On to achieve that. But in common apache cgi,
how to make that?


-- 
Patrick Hsieh <pahud@pahud.net>



Reply to: