.htaccess - Modrewrite url on index.php -


i created zend framework application , modrewrite worked when did:

index.php/dashboard instance, accessing dashboard module.

with being said, i'm working on new project (not zend framework) requires url of: http://server/username. i'm on impression need http://server/index.php/username being working method prior zend framework project.

i have tried several htaccess solutions, , none have worked. go 404. here i've tried:

rewriterule /([a-za-z]+)$ profile.php?name=$1

rewriterule ^/([^/\.]+)$ /profile.php?name=$1 [l]

rewriterule ^/index.php/([^/\.]+)$ /profile.php?name=$1 [l]

rewriterule ^.*$ - [nc,l] rewriterule ^.*$ index.php [nc,l]

nothing seems working. can help?


edit = believe problem apache server. of these rewrite rules should work. i've looked @ httpd.conf , virtual host configurations. insight?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -