English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

.htaccess RewriteBase should be patched
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: .htaccess RewriteBase should be patched
#2547
.htaccess RewriteBase should be patched 15 Years, 1 Month ago Karma: 0
When site is replicated RewriteBase in .htaccess stays the same which breaks sef urls (articles load from template site instead of slave site)
eeiaobn
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2549
Re:.htaccess RewriteBase should be patched 15 Years, 1 Month ago Karma: 0
Well, here is the patch
File Attachment:
File Name: jms2win_htaccess.gz
File Size: 571
eeiaobn
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/15 16:10 By eeiaobn.
The administrator has disabled public write access.
 
#2550
Re:.htaccess RewriteBase should be patched 15 Years, 1 Month ago Karma: 54
Sorry but JMS can NOT touch the standard htaccess files.

I don't see the reason why to have to change the Rewrite base if you have correctly setup your hosting server.
Normally the rewrite base is "/" and I don't see the reason why you want to change that with the domain name.
Just assign correctly your hosting server with the appropriate document root directory and the "/" rules will be OK.

In addition, the quick review I did on the code you provided to mean seems only applicable for IIS platform and probably will not work correctly on unix platform or windows + apaches.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/15 19:45 By edwin2win.
The administrator has disabled public write access.
 
#2555
Re:.htaccess RewriteBase should be patched 15 Years, 1 Month ago Karma: 0
that code was developed for and successfully tested on linux/apache
Rewrite base is necessary when joomla folder (i.e. index.php) is not located in root folder of web server for sef urls to function properly - you can read about it in documentation of seo plugins
eeiaobn
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/15 23:00 By eeiaobn.
The administrator has disabled public write access.
 
#2559
Re:.htaccess RewriteBase should be patched 15 Years, 1 Month ago Karma: 54
Give the url where we can find the diocumentation of the specific seo plugin you are using.

If you have a look in your code you will see that you are using SCRIPT_NAME that is variable only present for IIS.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2560
Re:.htaccess RewriteBase should be patched 15 Years, 1 Month ago Karma: 0
I got it from my phpinfo()
It's redhat system with apache - no doubt about it, i'm sshing it.

Here: "404 Page not found" error after clicking any link

Finally, make sure to set the RewriteBase value to match the root URL of your Joomla! installation at the server.
eeiaobn
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/16 00:54 By eeiaobn.
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla