<!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;
(the file is automatically created during the VCDDB setup process.)<br>
<br>
[cat .htaccess]<br>
Options -Indexes +FollowSymLinks<br>
<IfModule mod_rewrite.c><br>
RewriteEngine On<br>
RewriteBase /movies/<br>
<br>
RewriteRule ^movie/([0-9]+)$ index.php?page=cd&vcd_id=$1
[QSA]<br>
RewriteRule ^category/([0-9]+)$
index.php?page=category&category_id=$1 [QSA]<br>
RewriteRule ^category/([0-9]+)/([0-9]+)$
index.php?page=category&category_id=$1&batch=$2 [QSA]<br>
RewriteRule ^category/([0-9]+)/([0-9]+)/([a-zA-Z\\+]*)$
index.php?page=category&category_id=$1&batch=$2&viewmode=$3
[QSA]<br>
<br>
RewriteRule ^xxx/(category|studio)/([0-9]+)$
index.php?page=adultcategory&$1_id=$2 [QSA]<br>
RewriteRule ^xxx/(category|studio)/([0-9]+)/([0-9]+)$
index.php?page=adultcategory&$1_id=$2&batch=$3 [QSA]<br>
RewriteRule
^xxx/(category|studio)/([0-9]+)/([0-9]+)/(img|text)$
index.php?page=adultcategory&$1_id=$2&batch=$3&viewmode=$4
[QSA]<br>
<br>
RewriteRule
^pornstars/(all|active)/([a-zA-Z\\+]){1}/(img|text)$
index.php?page=pornstars&view=$1&l=$2&viewmode=$3[QSA]<br>
RewriteRule ^pornstars/(all|active)$
index.php?page=pornstars&view=$1 [QSA]<br>
RewriteRule ^pornstar/([0-9]+)$
index.php?page=pornstar&pornstar_id=$1 [QSA]<br>
<br>
RewriteRule ^search/?(actor|director)/([^\?/]*)$
index.php?page=search&by=$1&searchstring=$2 [QSA]<br>
RewriteRule ^file/(cover|pornstar|nfo)/([0-9]+)(&download)?$
index.php?page=file&$1_id=$2&$3 [QSA]<br>
RewriteRule ^page/movies/([a-zA-Z\\+]*)/([0-9]+)$
index.php?page=movies&do=$1&index=$2 [QSA]<br>
RewriteRule ^page/movies/([a-zA-Z\\+]*)$
index.php?page=movies&do=$1 [QSA]<br>
RewriteRule ^page/([^\?/]+)$ index.php?page=$1 [QSA]<br>
</IfModule><br>
<br>
I don't see anything thing there that would cause this problem, but I'm
a little shaky on Rewrite Rules. <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. 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"><Gar.Nelson@noaa.gov></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>