Closed (fixed)
Project:
JS Callback Handler
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 14:28 UTC
Updated:
23 Dec 2012 at 16:11 UTC
Hi,
Readme.txt only specify a url if your drupal site is installed at the root. If you have your site inside a path, as http://example.com/my_site, the .htaccess should be edited:
# Rewrite JavaScript callback URLs of the form 'js.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^\/my_site\/js\/.*
RewriteRule ^(.*)$ js.php?q=$1 [L,QSA]
As Boost module, to make everything easir, i think this module should provide a UI menu link to build this htaccess with the correct base_url.
bye
Comments
Comment #1
michielnugter commentedI added a note in the readme.txt for both the 6.x and 7.x version. An interface for this is a bit too much as this is a module for advanced users anyway.
Comment #2
michielnugter commentedI actually implemented this in the dev branch for 7.x-1.0.