IPB

Welcome Guest ( Log In | Register )

.htaccess File (Pending Bug)

This topic is about .htaccess File (Pending Bug), the author, bramburn, wrote about: My forum already has a .htaccess file in place, for loading my build of php5 on my shared webhost. I was wondering if there was a way to tell MinervaSEO to either append to the .htaccess file when I c ... To read more just scroll down

> Post all bugs on Bug Tracker

As we have soo much small queries and big bugs its hard for us to go through all of them, so we installed IP.Tracker.
Please use that module to report any bug found on our system.
Create New Bug entry

 
Reply to this topicStart new topic
.htaccess File (Pending Bug)
bramburn
post May 5 2008, 04:40 PM
Post #1


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



My forum already has a .htaccess file in place, for loading my build of php5 on my shared webhost. I was wondering if there was a way to tell MinervaSEO to either append to the .htaccess file when I change some of the settings in the ACP, or else have it insert some lines of code before it's own code each time it updates the file, because otherwise I end up having to manually re-edit it every time I change a setting to re-enable my custom build of php5.

Here's the contents of my current .htaccess file
CODE
Options +ExecCGI
AddHandler php5-cgi .php
Action php5-cgi /cgi-bin/php.cgi

<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>

ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 120 minutes"
ExpiresByType image/jpeg "access plus 120 minutes"
ExpiresByType image/png "access plus 120 minutes"
ExpiresByType text/css "access plus 60 minutes"
ExpiresByType text/javascript "access plus 60 minutes"
ExpiresByType application/x-javascript "access plus 60 minutes"
ExpiresByType text/xml "access plus 1 seconds"

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^sitemapx.xml(.*) modules/minerva/tools/sitemap.php$1 [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>


The first 3 lines are the ONLY ones I need to be consistantly present in my .htaccess file (and of course the MinervaSEO stuff too), so is there any way I could have those three lines kept there at all times?

View the full article


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet


 



RSS Lo-Fi Version | Sitemap  | SEO by MinervaSEO © Icelabz.net Time is now: 6th October 2008 - 06:09 PM