pastebin installation: 500 Internal Server error

pastebin installation: 500 Internal Server error

Posted by: koobi
Posted on: 2006-06-12 04:45:00

Hi,
I tried installing pastebin (http://pastebin.com/pastebin.tar.gz) on a
subdomain (http://pastebin.housni.org).
I followed instructions in the INSTALL file but I recieve a 500
Internal Server error.

I feel it has to do with .htaccess. Here is the content of my .htaccess

[lemonhead]$ cat .htaccess
<VirtualHost *>
DocumentRoot /home/koobi
ServerName pastebin.housni.org

php_value include_path .:/home/koobi/pastebin.housni.org/lib
php_value register_globals off
DirectoryIndex pastebin.php
RewriteEngine on
RewriteRule /([0-9]+) /pastebin.php?show=$1
</VirtualHost>



and my current working dir

[lemonhead]$ pwd
/home/koobi/pastebin.housni.org



and my folder structure

[lemonhead]$ ls -Rah
.:
. .. .htaccess favicon.ico layout.php lib pastebin.css
pastebin.js pastebin.php

./lib:
. .. config geshi pastebin

./lib/config:
. .. default.conf.php pastebin.housni.org.conf.php

./lib/geshi:
. .. contrib docs geshi geshi.php geshi.php.#.1.2

./lib/geshi/contrib:
. .. cssgen.php example.php

./lib/geshi/docs:
. .. BUGS CHANGES COPYING README THANKS TODO

./lib/geshi/geshi:
. autoit.php cpp.php eiffel.php
javascript.php ocaml.php robots.php tsql.php
.. bash.php csharp.php fortran.php
lisp.php oobas.php ruby.php vb.php
actionscript-french.php blitzbasic.php css-gen.cfg freebasic.php
lua.php oracle8.php sas.php vbnet.php
actionscript.php c.php css.php gml.php
matlab.php pascal.php scheme.php vhdl.php
ada.php c_mac.php d.php html4strict.php
mpasm.php perl.php sdlbasic.php visualfoxpro.php
apache.php caddcl.php delphi.php ini.php
mysql.php php-brief.php smarty.php xml.php
applescript.php cadlisp.php diff.php inno.php
nsis.php php.php sql.php
asm.php cfdg.php div.php java.php
objc.php python.php tcl.php
asp.php cfm.php dos.php java5.php
ocaml-brief.php qbasic.php text.php

./lib/pastebin:
. .. config.inc.php db.mysql.class.php diff.class.php pastebin.class.php





Any idea why I recieve the 500 Internal Error message?
Thanks for your time.

Re: pastebin installation: 500 Internal Server err

Posted by: matttail
Posted on: 2006-06-12 04:50:00

Is this a perl script that's returning the error? If that's the case it may as simple of a problem as setting the permissions.



--Matttail
art.googlies.net - personal website

Re: pastebin installation: 500 Internal Server err

Posted by: koobi
Posted on: 2006-06-12 04:59:00

Hi Matttail,
No, as you can see, they're all PHP scripts.

Re: pastebin installation: 500 Internal Server err

Posted by: koobi
Posted on: 2006-06-12 07:27:00

I eventually decided to scrap .htaccess and just alter the paths to the files in the PHP scripts, manually.

It works now, not how I want it to but I really don't mind.

Thanks anyway.

Tags: internal server errorhtaccesstar gzsubdomainrecievecathttporg