RE: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Micky Hulse
Well, I added this to the end of my .htaccess: # Set the index page: RedirectMatch ^/$ http://mydomain.com/folder/folder/index.php Seems to work well, but I am still concerned about pitfalls/optimization/consolidation... er, perfection? ;) TIA, Cheers, Micky -- PHP General Mailing List

Re: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Joe Wollard
Mickey, I'm not an expert on the topic by any stretch of the imagination, but I seem to recall reading that it's best to move everything into httpd.conf for performance reasons. You may want to investigate that, but otherwise I don't see anything wrong with what you're doing. On 4/10/06, Micky

RE: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Richard Lynch
On Mon, April 10, 2006 12:50 am, Micky Hulse wrote: -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Do you need to do it with a mod_rewrite? if not, you can do it easily in php: header('location: folder/file.php'); exit(); in index.php. Unfortunately, yes... I am

RE: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Micky Hulse
-Original Message- From: Joe Wollard [mailto:[EMAIL PROTECTED] I'm not an expert on the topic by any stretch of the imagination, but I seem to recall reading that it's best to move everything into httpd.conf for performance reasons. You may want to investigate that, but

RE: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Micky Hulse
Hi Richard, Doing it on only the URLs *you* think of typing doesn't count. Those pesky real users can come up with some really interesting URLs to type... :-) Lol, I was thinking that might be a problem. Thanks for all the great tips, I really appreicate your help. Great info... I am

RE: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Richard Lynch
On Mon, April 10, 2006 7:08 pm, Micky Hulse wrote: Doing it on only the URLs *you* think of typing doesn't count. Those pesky real users can come up with some really interesting URLs to type... :-) Lol, I was thinking that might be a problem. Thanks for all the great tips, I really

RE: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Micky Hulse
-Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Abandon Outlook and use Eudora, or Pegasus, or webmail, or ANYTHING other than Outlook? :-) LOL! Yeah, I do not know what I was thinking in the first place... Eudora sounds good to me. :D Cheers, Micky -- PHP

[PHP] mod_rewrite q's: syntax?

2006-04-09 Thread Micky Hulse
Hi all... sorry if this is OT for PHP list... Maybe a reply off-list? I just wanted to share my .htaccess file in the hopes that I can hone/fool-proof-a-tize it as much as possible via your feedback and suggestions. Here is what I got so far... I start by turning-on error reporting, then I am

Re: [PHP] mod_rewrite q's: syntax?

2006-04-09 Thread Chris
Micky Hulse wrote: Hi all... sorry if this is OT for PHP list... Maybe a reply off-list? I just wanted to share my .htaccess file in the hopes that I can hone/fool-proof-a-tize it as much as possible via your feedback and suggestions. Here is what I got so far... I start by turning-on error

RE: [PHP] mod_rewrite q's: syntax?

2006-04-09 Thread Micky Hulse
-Original Message- From: Chris [mailto:[EMAIL PROTECTED] Do you need to do it with a mod_rewrite? if not, you can do it easily in php: header('location: folder/file.php'); exit(); in index.php. Unfortunately, yes... I am using a CMS, and my current setup is forcing me into