Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 20th March 2013, 13:34
trigar trigar is offline
Junior Member
Join Date: Jun 2006
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default Path to private directory

I have just installed a new ISPConfig server, and I am trying to get to grips with the fact that I can no longer read or write to the parent of the web root (via "../").

Searching the forums I understand that this was a security hazard and rightly blocked, and I should be using /var/www/domain.net/private instead. That works fine, except that that will need hard coding into a lot of scripts across many sites.

What I would like is an easy way of doing this, either by programmatically determining the current site, or by having a standard path that works across all sites. Failing that I could just add a "sitename" file in the webroot and read that in every script, but again that is not ideal.

I am using Perl, not PHP.

Any suggestions gratefully received!

Chris Roberts
Reply With Quote
Sponsored Links


Thread Tools
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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 16:23
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 11:37
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 11:46
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17

All times are GMT +2. The time now is 07:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.