PDA

View Full Version : How mod rewrite in phpLD works


vignesh_natraj
05-21-2006, 07:11 PM
i want to know how the mod_rewrite feature in phpLd works
i need to know the file[give me the file name] responsible for mod_rewrite
also please explain me about how the current .htaccess in phpLD works

vignesh_natraj
06-08-2006, 01:24 PM
please help me please explaon me what this one does
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]

bobby9101
06-08-2006, 07:28 PM
your not gonna steal code are you?
though isn't much to steal

anon
06-08-2006, 08:12 PM
Content visible to registered users only.
google mod rewrite and start reading.

it's not mod rewrite that follows phpld standard, its phpld that follows the mod rewrite standard.

want to learn? then google/msn/yahoo/whatever search engine you use is your answer.

Boby
06-09-2006, 03:09 AM
These might help:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

The webserver basically rewrites some URL's and send them to index.php, the rest is then processed with PHP.

Boby

vignesh_natraj
06-10-2006, 05:19 AM
Content visible to registered users only.
whats there to steal in a mod rewrite come on i am asking for help

proprod
06-10-2006, 07:10 AM
Content visible to registered users only.

Good start would be to state your question clearly...

David
06-10-2006, 02:04 PM
Keep in mind much of the code for mod rewrite is in the php files, not htaccess. I don't know that there is a simple answer, except to start studying it. Not only do you need to understand mod rewrite, you also need some good php skills.

Boby
06-10-2006, 02:38 PM
Just a quick note:

Check out the get_category() function located in include/functions.php
;)

Boby

KartKorner
06-10-2006, 02:44 PM
Its a great little function too :)