Posted December 11, 200618 yr i hate the way they have it setup, in the INSTALL file it says: The tarball contains two main directories. You'll need a virtual host set up something like this <VirtualHost *> DocumentRoot /path/to/pastebin/public_html ServerName your.domain.name.com php_value include_path .:/path/to/pastebin/lib php_value register_globals off DirectoryIndex pastebin.php RewriteEngine on RewriteRule /([0-9]+) /pastebin.php?show=$1 </VirtualHost> fuck that whoever made that is a homo***. to fix it, go to pastebin.class.php and change this: function getPostURL($id) { global $CONF; return sprintf("http://{$_SERVER['HTTP_HOST']}".$this->conf['url_format'], $id); } to this: function getPostURL($id) { global $CONF; //htaccess fix return sprintf("http://{$_SERVER['HTTP_HOST']}"."/pastebin.php?show=".$id); //return sprintf("http://{$_SERVER['HTTP_HOST']}".$this->conf['url_format'], $id); }