cgi-execution: EXCLUDE path

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Scay
-


Joined: 01 Jul 2005
Posts: 3

PostPosted: Fri Jul 01, 2005 12:18 pm    Post subject: cgi-execution: EXCLUDE path Reply with quote

How do I exclude (deny) a certain path from cgi-execution? I want all other directories to be allowed to execute cgi-scripts. Haven't found any documentation on how to accomplish this.

I want this behaviour since I'm trying a lot of software (PHP) on my server while still maintining a website. So I'm the only with access except a certain folder where users are allowed to upload files.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jul 02, 2005 1:40 pm    Post subject: Re: cgi-execution: EXCLUDE path Reply with quote

Scay,

Until now there is no deny/allow style listing in Script Paths.
But you can restrict PHP execution to some directories only by adding paths as /script1/*.php and /dir/dir2/*.php to your Script paths.

To give you an accurate answer please let us know the structure of your site (where your PHP files are) and what is the virtual path of the upload directory.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Scay
-


Joined: 01 Jul 2005
Posts: 3

PostPosted: Sat Jul 02, 2005 6:02 pm    Post subject: Reply with quote

I suspected that, the point is that I'm trying out a lot of software and also have php files in my root-directory (index.php etc.). Of course, I could put all "new" software in a specific directory, but I'm a bit uncertain how to solve the root-directory issue. So I want to be able to use php everywhere except in a certain folder... Maybe it's time include the option to deny certain folders as well!?

While I'm on it, NICE SOFTWARE! I tried out Apache first but it was so much trouble setting up permissions and software to function correctly, with Abyss it's just to follow a short guide and you're done. Also like the GUI very much, nice work!
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jul 03, 2005 5:46 pm    Post subject: Reply with quote

Scay,

Here is a little workaround for the PHP files in root directory. Adding in the Script s Path ?*.php will only enable php file executions in the root directory only (not in its subdirectories) and is different from /*.php which enables PHP files execution everywhere in the root directory and its subdirectories.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Scay
-


Joined: 01 Jul 2005
Posts: 3

PostPosted: Mon Jul 04, 2005 9:57 am    Post subject: Reply with quote

Okey, thanks! I will try that, I think it should sort out the problem.

As I mentioned earlier, I suggest adding the option to deny certain folders (in this case: adding /<user area>/*.php to a deny-list would be less work (for me, of course ;) )
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Mon Jul 04, 2005 12:32 pm    Post subject: Reply with quote

Lets say you want to deny script execurion in /deny. Simply add a login to /deny/*.php
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group