htaccess Elite

Hire htaccesselite professional

$25 non-refundable deposit for me to look at your request,
$175/hr if both parties agree to work request.

.htaccess tutorial


All times are UTC - 5 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: htaccess conflict between lines
PostPosted: May 7th, '08, 11:32 

Joined: May 7th, '08, 11:21
Posts: 4
This is my htaccess file:

Code:
RewriteEngine ON

RewriteBase /www.imexserve.it/

RewriteRule ^product-category\.html$ pcategory\.php [L]

RewriteCond %{REQUEST_URI} !^(.*)guide-(.*)\.html
RewriteCond %{REQUEST_URI} !^(.*)microbiological-test-(.*)\.html
RewriteCond %{SCRIPT_FILENAME} !^(.*)inpage\.php
RewriteRule ^(.*)\.html$ pcategory\.php?path=$1 [L]

RewriteCond %{REQUEST_URI} !^(.*)guide-(.*)\.html
RewriteCond %{REQUEST_URI} !^(.*)microbiological-test-(.*)\.html
RewriteCond %{SCRIPT_FILENAME} !^(.*)inpage\.php(.*)
RewriteRule ^(.*)-page-(.0-9)\.html$ pcategory\.php?path=$1&pg=$2 [L]

RewriteCond %{REQUEST_URI} ^(.*)guide-(.*)\.html
RewriteRule ^guide-(.*)\.html$ guide\.php?guida=$1 [L]

RewriteCond %{REQUEST_URI} ^(.*)microbiological-test-(.*)\.html
RewriteRule ^microbiological-test-(.*)\.html$ mbtest\.php?mb=$1 [L]

RewriteCond %{SCRIPT_FILENAME} ^(.*)inpage.php
RewriteRule ^(.*)\.html$ inpage\.php?permalink=$1 [L]



without these lines:

Code:
RewriteCond %{SCRIPT_FILENAME} ^(.*)inpage.php
RewriteRule ^(.*)\.html$ inpage\.php?permalink=$1 [L]


everything works good, instead with that when i try to rewrite a page that access to inpage.php?permalink=...
i got a conflict with these lines:


Code:
RewriteCond %{REQUEST_URI} !^(.*)guide-(.*)\.html
RewriteCond %{REQUEST_URI} !^(.*)microbiological-test-(.*)\.html
RewriteCond %{SCRIPT_FILENAME} !^(.*)inpage\.php
RewriteRule ^(.*)\.html$ pcategory\.php?path=$1 [L]


without the rewritecond nothing work except pcategory.php

can u help me plz??

a problem example shoud be like this:

now the problem is

if i visit path.....html so i call pcategory.php?path=.....
everything works good

instead if i call permalink.........html so i call inpage.php?permalink=......
apache process pcategory.php instead of inpage.php


help help help

_________________
bitjar - guide, tutorial, where you can write yours...come to visit us at http://bitjar.netsons.org


Top
 Profile  
 
 Post subject: Re: htaccess conflict between lines
PostPosted: May 8th, '08, 06:40 

Joined: May 7th, '08, 11:21
Posts: 4
can someone help me plz??

_________________
bitjar - guide, tutorial, where you can write yours...come to visit us at http://bitjar.netsons.org


Top
 Profile  
 
 Post subject: Re: htaccess conflict between lines
PostPosted: May 9th, '08, 15:48 

Joined: Oct 30th, '06, 13:55
Posts: 81
I'd like to help but you haven't explained the problem enough.. please be more detailed in what you want and what is happening


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB