|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
need help with chmod
i can't chmod files in cgi-bin. it says unknown commnad.
here is the settings. is it correct?? thx ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/" <Directory "C:/Program Files/Apache Group/Apache/cgi-bin"> Options ExecCGI AllowOverride All Order allow,deny Allow from all Deny from all Allow from 24.199.81.2 </Directory> |
|
#2
|
|||
|
|||
|
At first, chmod has nothing to do with Apache. It's relation to Unix section. Also, I noticed that you are using Windows, which Windows don't have the chmod function as *nix at all. There are no premission file in Windows for the Apache server, which it's only for IIS. Well, I know nothing about IIS..
Anyway, I noticed that you have the Options ExecCGI, so you should change it to Options None because ScriptAlias'ed cgi-bin can't have any of option nor override. I would set it up follows: Code:
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/" <Directory "C:/Program Files/Apache Group/Apache/cgi-bin"> Options None AllowOverride None Order allow,deny Allow from all </Directory> If you still want to use ExecCGI then put it in home of <Directory "/xxx/xxx/htdocs">... Last edited by mezz : February 15th, 2002 at 01:33 AM. |
|
#3
|
|||
|
|||
|
Quote:
If you only want to allow 24.199.81.2, then remove your Allow from all line, it's useless there because the decision is made from first to last and Deny from all wins over Allow from all in that case. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > need help with chmod |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|