By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,156 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

mode rewrite

P: n/a
i have only been able to get my mod rewrites to work if I have a
trailing slash.

RewriteRule ^(.*)/$ 2.php?pic=$1

But I don't want the trailing /

RewriteRule ^(.*)/$ 2.php?pic=$1

The above line sets my pic get var to 2.php belive it or not.

What's the silly thing I am doing wrong?

Thanks in advance.
Sep 9 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
HappyCamper <ry******@gmail.comwrites:
What's the silly thing I am doing wrong?
Posting an Apache configuration question in a PHP newsgroup.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Sep 9 '08 #2

P: n/a
fine, fine.

On Sep 9, 2:57*pm, Sherm Pendley <spamt...@dot-app.orgwrote:
HappyCamper <ryanr...@gmail.comwrites:
What's the silly thing I am doing wrong?

Posting an Apache configuration question in a PHP newsgroup.

sherm--

--
My blog:http://shermspace.blogspot.com
Cocoa programming in Perl:http://camelbones.sourceforge.net
Sep 9 '08 #3

P: n/a
HappyCamper wrote:
On Sep 9, 2:57 pm, Sherm Pendley <spamt...@dot-app.orgwrote:
>HappyCamper <ryanr...@gmail.comwrites:
>>What's the silly thing I am doing wrong?
Posting an Apache configuration question in a PHP newsgroup.
fine, fine.
Try alt.apache.configuration, you'll get better help there. Also, top
posting gets on some people's nerves.

--
Curtis
Sep 10 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.