Top "Rewrite" questions

A URL rewrite engine is software that modifies a web URL's appearance (URL rewriting).

Header set Access-Control-Allow-Origin in .htaccess doesn't work

I can't figure out why my .htaccess header settings doesn't work. My .htaccess file content: Header set Access-Control-Allow-Origin * Header always …

.htaccess mod-rewrite rewrite cors
How to redirect single url in nginx?

I'm in the process of reorganizing url structure. I need to setup redirect rules for specific urls - I'm using …

nginx rewrite
Rewrite URL after redirecting 404 error htaccess

So I know this may seem a little strange but I for sake of consistency, I would like all my …

.htaccess redirect url-rewriting rewrite custom-error-pages
convert htaccess to nginx

I'm having no luck converting htaccess rules to nginx rewrite. I've checked out the NginxRewriteModule documentation and have a few …

.htaccess nginx rewrite
rewrite a folder name using .htaccess

I am wondering wether it's possible to use .htaccess to rewrite a folder name. What I mean is this. Lets …

.htaccess rewrite
Gmail's new image caching is breaking image links in newsletter

I've got some automatic emails that are sent out upon signup completion for my site. Until recently, they worked fine. …

image caching gmail rewrite
Is this the best way to rewrite the content of a file in Java?

I want to rewrite the contents of a file. What I have thought of so far is this: Save the …

java file-io rewrite
Add slash to the end of every url (need rewrite rule for nginx)

I try to get an "/" to every urls end: example.com/art should example.com/art/ I use nginx as …

regex nginx rewrite
Options FollowSymLinks or SymLinksIfOwnerMatch is off

I've read almost everything possible for this issue and couldn't find anything that would solve my problem. This is erorr …

apache .htaccess rewrite httpd.conf
How can I easily fixup a past commit?

I just read amending a single file in a past commit in git but unfortunately the accepted solution 'reorders' the …

git rewrite