<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
In the /var/www/html/movies directory the content of .htaccess is;&nbsp;
(the file is automatically created during the VCDDB setup process.)<br>
<br>
[cat .htaccess]<br>
Options -Indexes +FollowSymLinks<br>
&lt;IfModule mod_rewrite.c&gt;<br>
RewriteEngine On<br>
RewriteBase /movies/<br>
<br>
RewriteRule ^movie/([0-9]+)$ index.php?page=cd&amp;vcd_id=$1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[QSA]<br>
RewriteRule ^category/([0-9]+)$
index.php?page=category&amp;category_id=$1&nbsp; [QSA]<br>
RewriteRule ^category/([0-9]+)/([0-9]+)$
index.php?page=category&amp;category_id=$1&amp;batch=$2 [QSA]<br>
RewriteRule ^category/([0-9]+)/([0-9]+)/([a-zA-Z\\+]*)$
index.php?page=category&amp;category_id=$1&amp;batch=$2&amp;viewmode=$3
[QSA]<br>
<br>
RewriteRule ^xxx/(category|studio)/([0-9]+)$
index.php?page=adultcategory&amp;$1_id=$2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [QSA]<br>
RewriteRule ^xxx/(category|studio)/([0-9]+)/([0-9]+)$
index.php?page=adultcategory&amp;$1_id=$2&amp;batch=$3&nbsp;&nbsp;&nbsp; [QSA]<br>
RewriteRule
^xxx/(category|studio)/([0-9]+)/([0-9]+)/(img|text)$
index.php?page=adultcategory&amp;$1_id=$2&amp;batch=$3&amp;viewmode=$4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[QSA]<br>
<br>
RewriteRule
^pornstars/(all|active)/([a-zA-Z\\+]){1}/(img|text)$
index.php?page=pornstars&amp;view=$1&amp;l=$2&amp;viewmode=$3[QSA]<br>
RewriteRule ^pornstars/(all|active)$
index.php?page=pornstars&amp;view=$1&nbsp;&nbsp; [QSA]<br>
RewriteRule ^pornstar/([0-9]+)$
index.php?page=pornstar&amp;pornstar_id=$1&nbsp; [QSA]<br>
<br>
RewriteRule ^search/?(actor|director)/([^\?/]*)$
index.php?page=search&amp;by=$1&amp;searchstring=$2 [QSA]<br>
RewriteRule ^file/(cover|pornstar|nfo)/([0-9]+)(&amp;download)?$
index.php?page=file&amp;$1_id=$2&amp;$3&nbsp;&nbsp;&nbsp; [QSA]<br>
RewriteRule ^page/movies/([a-zA-Z\\+]*)/([0-9]+)$
index.php?page=movies&amp;do=$1&amp;index=$2&nbsp; [QSA]<br>
RewriteRule ^page/movies/([a-zA-Z\\+]*)$
index.php?page=movies&amp;do=$1 [QSA]<br>
RewriteRule ^page/([^\?/]+)$ index.php?page=$1&nbsp; [QSA]<br>
&lt;/IfModule&gt;<br>
<br>
I don't see anything thing there that would cause this problem, but I'm
a little shaky on Rewrite Rules.&nbsp; <br>
<br>
Mod_rewrite is loaded in httpd.conf;<br>
[grep rewrite httpd.conf]<br>
LoadModule rewrite_module modules/mod_rewrite.so<br>
<br>
And
for anyone else that thinks about using this in a professional
environment, there is a switch to eliminate showing any of the adult
options.&nbsp; Personally, I would prefer to just strip them out of the
program, but it is nice to be able to easily turn them off.<br>
<br>
Thanks,<br>
Gar<br>
<br>
simone-www.io-lab.org wrote:
<blockquote
 cite="mid:e06043d70902041902l1dc30b88wba596f1ce60f0dda@mail.gmail.com"
 type="cite">
  <pre wrap="">what have you got in your .htaccess file in yoursite/movie ?

On Wed, Feb 4, 2009 at 11:34 PM, Gar Nelson <a class="moz-txt-link-rfc2396E" href="mailto:Gar.Nelson@noaa.gov">&lt;Gar.Nelson@noaa.gov&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I've got an apache/drupal problem that I'm coming up empty on for how to
fix.
My OS is RHEL 4,
Apache is httpd-2.0.52-41.ent.2
Drupal is drupal5-5.15-1.el4.rf

Drupal is working fine with Apache. My problem is that I want to run VCDDB,
(<a class="moz-txt-link-freetext" href="http://vcddb.konni.com/">http://vcddb.konni.com/</a>) which is an external web based movie database
application. I've installed it in /var/www/html/movies, and the installation
process completed successfully. Drupal is installed in /var/www/html

My problem is that when I go to <a class="moz-txt-link-freetext" href="http://my.host/movies">http://my.host/movies</a> or
<a class="moz-txt-link-freetext" href="http://my.host/movies/">http://my.host/movies/</a> all I get is a blank screen. If I try to go to
<a class="moz-txt-link-freetext" href="http://my.host/movies/index.php">http://my.host/movies/index.php</a>, I get a  popup trying to download
"index.php" rather than display "index.php".

I have also installed WebCalendar (<a class="moz-txt-link-freetext" href="http://www.k5n.us/webcalendar.php">http://www.k5n.us/webcalendar.php</a>), and
that does work correctly when I go to <a class="moz-txt-link-freetext" href="http://my.host/calendar">http://my.host/calendar</a>

I suspect this is a Drupal issue, since VCDDB was running fine when I was
using a manually coded html web site (rather than Drupal),but I'm not sure.
If could be an Apache thing.

Any ideas?

Thanks in advance.
Gar
--
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]

    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
</body>
</html>