1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

.html site 500 internal server error

Discussion in 'Co-op Advertising Network' started by kokopoko, Aug 1, 2007.

  1. #1
    Ok I've read a lot of threads, tried a lot of fixes and cannot get my site to show up now. My .htaccess is this:

    AddType text/html .shtml
    AddHandler server-parsed .html
    AddHandler server-parsed .shtml
    AddType x-httpd-php .php .htm .html
    Options Indexes FollowSymLinks Includes
    
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{REQUEST_FILENAME} ^(.*).htm [NC,OR]
    	RewriteCond %{REQUEST_FILENAME} ^(.*).html [NC]
    	RewriteRule ^(.*)       /passthru.php?file=$1
    </IfModule>
    Code (markup):
    This causes the 500 internal server error.

    This for my .htaccess makes the site appear but the network ads do not show up, instead I get the [an error occurred while processing this directive]
    AddType text/html .shtml
    AddHandler server-parsed .html
    AddHandler server-parsed .shtml
    Options Indexes FollowSymLinks Includes
    
    
    Code (markup):
    What can I do to fix this so the ads will show and the site still shows up?

    Christine
     
    kokopoko, Aug 1, 2007 IP
  2. Mara Linz

    Mara Linz Peon

    Messages:
    63
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In my own experience error 500 occurs when mod_rewrite is not enable on your web server.

    Uncomment #mod_rewrite in your httpd.conf, or if you are hosted on a shared service, ask your hosting provider if mod_rwrite is enabled.
     
    Mara Linz, Aug 2, 2007 IP