Thread: AllPosters htaccess |
|
Tools | Search |
|
#1
|
|
|
I am finally redoing my sites after a few years of neglect. In setting up a virtual directory I am using virtual.dir "posters" in the configuration with the following in my .htaccess:
AddHandler server-parsed .htm .html RewriteEngine on RewriteBase / RewriteRule ^(posters)/.*$ /cgi-bin/apws/apws.pl?dir=$1 [L] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress On one of my sites everything works fine but on a few of the others I still get the apws/apws.pl?cat=84768&dir=posters for example. At least if I go to www.mysite.com/posters I get the main poster directory so I expect there is a slight iissue with the .htaccess? Thanks |
|
|
#2
|
|
|
View the APWS Configuration Report and see the loaded configuration. Go to:
/cgi-bin/apws/apws.pl?cfg=CFGVALUE where CFGVALUE is the value of the cfg variable found in your apws-key.txt configuration file. The Configuration Report is organized into collapsible/expandable sections. Click a section to expand it open and see its details; to collapse a section, click its sidebar. Click on "Configuration" section and scroll down to virtual.dir variable and see what it says. It should say /posters/ (the leading and trailing / characters are automatically added in case you don't specify them yourself in virtual.dir). If you don't see it set to that value, check your configuration file again. Yours truly, Cusimano.Com Corporation per: David Cusimano
__________________
Affiliate Tools: Datafeed Merge |
|
|
#3
|
|
|
Hi David,
The configuration report shows virtual.dir posters I added the leading and trailing slashes in the configuration file and that didn't change the way the script reacted. At that point the coniguration report shows virtual.dir /posters/ |
|
|
#4
|
|
|
Use the support form and send me your domain URL so I can see the site.
Yours truly, Cusimano.Com Corporation per: David Cusimano
__________________
Affiliate Tools: Datafeed Merge |
|
|
#5
|
|
|
Solved the issue, thanks.
|
|
«
Previous Thread
|
Next Thread
»
| Tools | Search |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| htaccess help | John Kruger | Programming / Datafeeds / Tools | 13 | February 8th, 2008 09:20 AM |
| .htaccess maybe? | Kevin | Programming / Datafeeds / Tools | 2 | December 5th, 2006 09:09 AM |
| CSS or .HTAccess or ...? | Kip | Programming / Datafeeds / Tools | 2 | September 7th, 2006 09:27 PM |
| Help with .htaccess, Plz!!! | ahmar | Programming / Datafeeds / Tools | 3 | October 28th, 2005 04:51 PM |

