Re: [users@httpd] 500 Internal Server Error pages being rendered as markup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did set up 2 .htaccess directories in the document root, but I don't know why this would cause this issue I'm seeing. But again, I've also successfully reproduced the problem with the original httpd.conf files on 2 different machines, which makes this extremely wierd, since there aren't any .htaccess directories specified in the original httpd.conf.

Things I've changed in my httpd.conf file:
1. admin email address
2. server name
3. user nobody
4. group eng
5. ServerTokens Full
6. ServerSignature On
7. Options in DocumentRoot's <Directory> directive
8. added <Directory> directive for .htaccess protected directory in DocumentRoot 9. added another <Directory> directive for .htaccess protected directory in DocumentRoot 10. set up UserDir directories and added <Directory> directives for user directories
11. in <IfModule dir_module>, added values to DirectoryIndex directive
12. in <IfModule mime_module>, uncommented 'AddEncoding x-compress .Z' and 'AddEncoding x-gzip .gz .tgz' lines 13. in <IfModule mime_module>, uncommented 'AddHandler cgi-script .cgi' line and added '.pl' and '.py' to that line 14. in <IfModule mime_module>, uncommented 'AddHandler type-map var', AddType text/html .shtml', and 'AddOutputFilter INCLUDES .shtml' lines 15. in <IfModule mime_module>, added 'AddHandler php5-script .php', 'AddType text/html .php', and 'AddType application/x-httpd-php-source .phps' lines 16. uncommented 'Include conf/extra/httpd-mpm.conf', 'Include conf/extra/httpd-multilang-errordoc.conf', 'Include conf/extra/httpd-autoindex.conf', 'Include conf/extra/httpd-languages.conf', and 'Include conf/extra/httpd-ssl.conf' lines - By default all the include lines were commented

I've also made changes to the httpd-ssl.conf file - admin email address, server name, and <Location> directive for subversion.

I'm really not sure where to go from here since I've been able to reproduce this on 2 different machines with both my altered httpd.conf and the original httpd.conf files and you are not able to reproduce this.

Thanks,

Vincent J.


On Thu, 15 Dec 2005 16:16:37 -0800, Joshua Slive <joshua@xxxxxxxx> wrote:

On 12/15/05, Vincent Jong <vjong@xxxxxxxxxxxxxxxxx> wrote:
I also just noticed when reading the rendered page more correctly:

Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the
request.

I've looked in the error log and it doesn't look like anything is funny in
there.

[Thu Dec 15 15:00:59 2005] [notice] Apache/2.2.0 (Unix) mod_ssl/2.2.0
OpenSSL/0.9.7a DAV/2 configured -- resuming normal operations
[Thu Dec 15 15:01:01 2005] [error] [client 127.0.0.1] (13)Permission
denied: exec of '/usr/local/Apache2.2.X/cgi-bin/test-cgi' failed
[Thu Dec 15 15:01:01 2005] [error] [client 127.0.0.1] Premature end of
script headers: test-cgi

It looks like there's an error somewhere in the configuration file, but I
haven't done any changes regarding error documents...

I'm having a hard time believing this statement.  Have you checked any
config file that may be Include'd in httpd.conf or any .htaccess file?

Joshua.



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux