Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Conflict, What is the right htaccess rule, default homepage file with htaccess?
Old 01-19-2009, 05:37 PM Conflict, What is the right htaccess rule, default homepage file with htaccess?
Skilled Talker

Posts: 69
Name: syu
Trades: 0
i want www.domain.com is directed to the www.domain.com/forum.php

usually i use this htaccess rule to define default homepage file

Quote:
RewriteRule ^$ forum.php


but in one of my website, above rule is conflict with the other htaccess



Quote:
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ blog.php [L,QSA]


so the first rule is not working



please help how is the correct rule so both rule not conflict (maybe joining or split them)





i must found the answer, please help guys
basketmen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-19-2009, 06:52 PM Re: Conflict, What is the right htaccess rule, default homepage file with htaccess?
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Something like
Code:
DirectoryIndex forum.php
Btw, .htaccessEditor is a good site to make .htaccess files with.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 01-19-2009, 07:26 PM Re: Conflict, What is the right htaccess rule, default homepage file with htaccess?
Skilled Talker

Posts: 69
Name: syu
Trades: 0
Quote:
DirectoryIndex forum.php
i had try that before, its not works too, its looks like its conflict with above rule too


Quote:
Btw, .htaccessEditor is a good site to make .htaccess files with.
nice site, i will try it




if anyone have another suggest please reply
basketmen is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 09:46 PM Re: Conflict, What is the right htaccess rule, default homepage file with htaccess?
andrei155's Avatar
CEO of BLD Hosting

Posts: 1,514
Name: Andrei
Location: Canada
Trades: 6
DirectoryIndex forum.php is the right directive.
__________________
No Overselling Guarantee
Now Includes a Free Domain
BLD Hosting -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
andrei155 is offline
Reply With Quote
View Public Profile Visit andrei155's homepage!
 
Reply     « Reply to Conflict, What is the right htaccess rule, default homepage file with htaccess?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13149 seconds with 12 queries