php and .htaccess problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
os_bug
Forum Newbie
Posts: 2
Joined: Wed Oct 11, 2006 4:01 am

php and .htaccess problem

Post by os_bug »

hello ,

I have written the .htaccess file and is in my doc root.
the rule is something like this.

RewriteRule ^test/?$ /view/os.php
and so on, there are some 100 rules I have written.

now I do not know , how to change the conf file so my php will read the link http://192.168.149.44/test/ and pass it directly to
http://192.168.149.44/view/os.php

can any idea, what are change and where so my PHP/apache will read the .htaccess file and do the stuff.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

keep your .htaccess file in root and apache will read it , you need to get worried about it as log as the rules in .htaccess file are ok.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
Locked