Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-15-2012, 05:31 AM   PM User | #1
Wayniac
New Coder

 
Join Date: May 2009
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
Wayniac is an unknown quantity at this point
mod_rewrite Help

Hello everyone,

I've enabled mod_rewrite and read through the forum "sticky" post to see if I missed anything, but still a no go for me unfortunately.

Joomla is installed under "example.com/_usr/example1". What I would like to achieve is to never have the public see "_usr/example1" anymore, so just "example.com" and of course any trailing pages that I create in the future.

End result = Removal of "_usr/example1".

I tried the following code, but it never worked and I'm sure I'm far off from the solution.

RewriteEngine On
Options +FollowSymLinks
RewriteRule ^_usr/example1/ http://example.com/? [R=301,L]

Any assistance would be greatly appreciated!
Wayniac is offline   Reply With Quote
Old 09-15-2012, 07:40 PM   PM User | #2
Wayniac
New Coder

 
Join Date: May 2009
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
Wayniac is an unknown quantity at this point
I'm still having no good fortune with this
Wayniac is offline   Reply With Quote
Old 09-15-2012, 10:18 PM   PM User | #3
Wayniac
New Coder

 
Join Date: May 2009
Posts: 48
Thanks: 3
Thanked 0 Times in 0 Posts
Wayniac is an unknown quantity at this point
If I need to re-word something or offer more information please let me know.
Wayniac is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:05 AM.


Advertisement
Log in to turn off these ads.