View previous topic :: View next topic |
Author |
Message |
Scay -
Joined: 01 Jul 2005 Posts: 3
|
Posted: Fri Jul 01, 2005 12:18 pm Post subject: cgi-execution: EXCLUDE path |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jul 02, 2005 1:40 pm Post subject: Re: cgi-execution: EXCLUDE path |
|
|
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 |
|
 |
Scay -
Joined: 01 Jul 2005 Posts: 3
|
Posted: Sat Jul 02, 2005 6:02 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Jul 03, 2005 5:46 pm Post subject: |
|
|
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 |
|
 |
Scay -
Joined: 01 Jul 2005 Posts: 3
|
Posted: Mon Jul 04, 2005 9:57 am Post subject: |
|
|
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 |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Mon Jul 04, 2005 12:32 pm Post subject: |
|
|
Lets say you want to deny script execurion in /deny. Simply add a login to /deny/*.php |
|
Back to top |
|
 |
|