This is a discussion on "Mod_Rewrite Request" within the PHP Forum section. This forum, and the thread "Mod_Rewrite Request are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Mod_Rewrite Request
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Mod_Rewrite Request
Hi,
My client has asked me to change his website catalogue from dynamic to static URLs, only i do not understand how to use the mod_rewrite feature, nor do i understand any of the tutorials. I was wondering if someone would be willing to help me out to get this task done, either on a paid in cash basis, or on some either future favours, free hosting, design work or some other sort of "favour-related" deal. The website in question is www.aneye4style.com. either any advice or help is very VERY appreciated! |
|
|
|
|||
|
Re: Mod_Rewrite Request
Andy,
Most of the mod_rewrite examples that I've seen tend to be overcomplex - I know how you feel - so here's a simple "starter" example, and it may be all you need I'm using the mod in some of our directories - in one, I want all .html files requested to be diverted to /share/index.php4 with a GET parameter of "pagename" set to the name of the HTML file. In the .htaccess file of the directory in which I want this diversion, I have placed
-- Graham |
|
|||
|
Re: Mod_Rewrite Request
Hi Grahame,
thanks for the example, i totally understand how it works now...ive read about 8 tutorials and its all just too complicated. what you said has given me the idea on how to do it...which ive followed and uploaded it in a htaccess file, but the site runs as if it doesnt even exist...what am i doing wrong?, can i pay you to take a look and get it working for me? |
|
|||
|
Re: Mod_Rewrite Request
Andy, Perhaps web server is set up to restrict you, and partly or whole-ly disallows .htaccess files. If you're running your own server, then you'll need to ensure that the AllowOverride directive in the main server configuration file (httpd.conf) is sufficiently open. If someone runs the server for you, you'll have to ask them ....
Here's what I have in my local test server, mirroring what my ISP provides on my live site:
Last edited by grahame; Jun 9th, 2006 at 03:48. |
|
|||
|
Re: Mod_Rewrite Request
hi grayham, thanks for your post again mate. i spoke to my web host and he told me that mod_rewrite is fully enabled, also i set up an test Mod_rewrite redirect the other day, and that worked fine...its becomine a bit of a pain....if i pay you, and give you access would you be interested in getting it wokring for me pl,ease?
|
|
|||
|
Re: Mod_Rewrite Request
I'm quite happy for you to email me and send me a copy of your .htaceess - follow this link for my details. It's probably not going to take too long for me to look at - scarcely worth setting up all the claptrap of any form of financial arrangement. And I would prefer to leave YOU to do the placing / testing on your live server - I reallly don't like accumulating other people's passwords!
|
![]() |
| Tags |
| mod_rewrite, request |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mod_rewrite ??? | Blake121 | PHP Forum | 7 | Jul 17th, 2007 16:33 |
| Help with Mod_Rewrite | swiftmed | Web Page Design | 3 | Jun 7th, 2006 22:17 |