OK. The correct thing is to add
AddHandler cgi-script .cgi
Options FollowSymLinks Indexes ExecCGI
DirectoryIndex /rocks/7.0/install/rolls/index.cgi
Allow from all
Thanks for your help and ideas Eric.
Regards,
Mahmood
http://ce.scu.ac.ir/rocks/7.0/install/rolls/index.cgi returns a 500
error. Troubleshoot it by looking at the logs.
On Mon, Jan 1, 2018 at 11:33 AM, Mahmood Naderan wrote:
>>Maybe I was unclear. Put it back along with AddHandler cgi-script .cgi
>>if you want the subdirs to look like the root.
>
>
>Maybe I was unclear. Put it back along with AddHandler cgi-script .cgi
>if you want the subdirs to look like the root.
No it is not OK to have something like this
ServerName rocks-7-0.my.org
DocumentRoot /var/www/html/rocks/7.0
Options FollowSymLinks Indexes ExecCGI
AllowOverr
Maybe I was unclear. Put it back along with AddHandler cgi-script .cgi
if you want the subdirs to look like the root.
On Mon, Jan 1, 2018 at 11:29 AM, Mahmood Naderan wrote:
>>I think someone previously told you to undo:
>>DirectoryIndex /install/rolls/index.cgi
>>But this is what would c
>I think someone previously told you to undo:
> DirectoryIndex /install/rolls/index.cgi
>But this is what would cause the root index.cgi to be used by the
>subdirectoryes.
Yes I did that and it only works for the main folder where index.cgi exists.I
am thinking about *recursive cgi* confi
I think someone previously told you to undo:
DirectoryIndex /install/rolls/index.cgi
But this is what would cause the root index.cgi to be used by the
subdirectoryes.
On Mon, Jan 1, 2018 at 11:20 AM, Mahmood Naderan wrote:
>>If your app uses *.cgi for CGIs, use AddHandler cgi-script .
>If your app uses *.cgi for CGIs, useAddHandler cgi-script .cgi
>instead of SetHandler.
Hi,
I did that and now the error has beendisappeared.
I tried to define alias and wrote“AddHandler cgi-script .py” which seems to be
incorrect. Many thanks for yourhelp. Anyway…
The cgi in the m
If your app uses *.cgi for CGIs, use AddHandler cgi-script .cgi
instead of SetHandler.
On Mon, Jan 1, 2018 at 2:06 AM, Mahmood Naderan wrote:
> Dear Eric,
> Can you explain a bit more on what should I do with the cgi probblem?
>
> Regards,
> Mahmood
>
>
>
>
>
>
>
>
>
> On Saturday, December 30, 2
Dear Eric,
Can you explain a bit more on what should I do with the cgi probblem?
Regards,
Mahmood
On Saturday, December 30, 2017, 9:12:00 PM GMT+3:30, mahmood n
wrote:
>You need to scope the SetHandler/AddHandler to just the things that
>are actually CGI. Check the manual.
If
>You need to scope the SetHandler/AddHandler to just the things that
>are actually CGI. Check the manual.
If you mean this topic (https://wiki.apache.org/httpd/DirectoryAsScript) , I
already have read that. But don’t know how to apply that to my case.
Currently, I have
Options FollowSy
On Sat, Dec 30, 2017 at 9:49 AM, mahmood n wrote:
>>Missing SetHandler cgi-script or similar.
>
>
>
> I added “SetHandler cgi-script” above the DirecotryIndex. The web browser
> now seems to work fine as I don’t see the traditional folder structure.
>
>
>
> What about messages like this in the err
>Missing SetHandler cgi-script or similar.
I added “SetHandler cgi-script” above the DirecotryIndex. The web browser now
seems to work fine as I don’t see the traditional folder structure.
What about messages like this in the error.log
[Sat Dec 30 18:10:14.142417 2017] [cgi:error] [pid 20329] [
Missing SetHandler cgi-script or similar.
On Sat, Dec 30, 2017 at 6:14 AM, Mahmood Naderan
wrote:
>>DirectoryIndex contains a list of files to try, not a full path.
>>My guess is that it's supposed to be
>>DirectoryIndex index.cgi instead of the path.
>
> Well I change that to "DirectoryIndex ind
>DirectoryIndex contains a list of files to try, not a full path. >My guess is
>that it's supposed to be >DirectoryIndex index.cgi instead of the path.
Well I change that to "DirectoryIndex index.cgi", howeverby visiting the url
from the web browser, I see the content of index.cgi as a plain tex
DirectoryIndex contains a list of files to try, not a full path. My guess
is that it's supposed to be DirectoryIndex index.cgi instead of the path.
On Fri, Dec 29, 2017 at 11:05 AM, mahmood n
wrote:
> Hi,
>
>
>
> In one the www folders, I have an index.cgi which is a python script.
> Problem is
Hi,
In one the www folders, I have an index.cgi which is a python script. Problem
is that, by visiting that url, the cgi script is not run and I tried a lot to
find the problem. Still I have stuck at that.
The content of the index.cgi is
https://github.com/rocksclusters/roll-server/blob/master
16 matches
Mail list logo