- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I'm trying to get Apache mod rewrite to work on my local machine. I'm running OSX with PHP 5 and the Apache mod rewrite module is enabled.
I have a directory called localhost/~Jason/hfh/admin with various PHP includes called based on a $_GET variable. I want to let users type (in theory) 
localhost/~Jason/hfh/admin/pages
and…
            >>> More
 
- 
            
            as seen on Server Fault
            - Search for 'Server Fault' 
            
 I am dealing with a frustrating problem with Joomla that is going to require some url trickery. The idea is straight-forward but after reading a bunch of guides for mod-rewrite, I still can't seem to get it work.
Let's say my site is www.mysite.com. Joomla is already performing some rewriting for…
            >>> More
 
- 
            
            as seen on Server Fault
            - Search for 'Server Fault' 
            
 Is it possible to replace some forward slashes (/) of a URL to dots (.) in a RewriteRule? It doesn't have to be done exclusively with a RewriteRule, but definitely not with a script.
Example 1:
INPUT:  /document/my/document.html
OUTPUT: /document-my.document.html
Example 2:
INPUT:  /document/depth/of/path/can/vary…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hello,
I really tried tons of methods but i'm not successful.
I want a .Htaccess code to do the following :
I want to rename this : http://www.mydomain.com/media -- http://media.mydomain.com
So, By example instead of calling this : http://www.mydomain.com/media/XXX/picture.jpg
i will call : http://media…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I would like to get rid of all the file extensions on my site. Except when they are on the index i would like it to say nothing...
change this foo.com/index.html
to this foo.com/
and when the user goes to another page like foo.com/contact-us.html
it will be foo.com/contact-us
RewriteEngine On
RewriteRule…
            >>> More