Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
ScriptAlias /cgi-sys/ /usr/dir/
AddHandler my-file-type .abc
Action my-file-type /cgi-sys/program

ServerRoot "/usr/httpd-2.4.4"
Listen 79
User nobody
Group nobody
ErrorLog logs/error_log
LogLevel info

<VirtualHost * >
ServerName "domain.com"
DocumentRoot "/home/web"
SuexecUserGroup user user
</VirtualHost>

That is WHOLE httpd.conf (excluding LoadModules for in 2.4.4 that are looong). It works on apache 2.2.24. It does not work on 2.4.4. (when testing with 2.2.24 i've obviuosly changed ServerRoot)

"The requested URL /cgi-sys/program/b.abc was not found on this server."

Anyone know why?

share|improve this question
    
unfortunetly that was only relevant part and error_log says what I've already pasted AH00130: File does not exist: /usr/dir/program/b.abc –  user176126 Jun 1 '13 at 3:45
    
OK, so does the file /home/web/cgi-sys/program/b.abc actually exist? Are its permissions correct? Are there SELinux errors? –  Michael Hampton Jun 1 '13 at 5:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.