The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
10 views

Using Apache RewriteRule

I'm attempting to get a very simple RewriteRule working in Apache - I've set Apache2 up (in Vagrant) and run sudo a2enmod rewrite successfully (and restarted Apache after), with the following trivial ...
0
votes
1answer
264 views

Nginx redirect all requests trying to reach a folder

How can I redirect all requests trying to reach a folder? for example, I would like to redirect: somedomain.com/folder/subfolder/index.html somedomain.com/folder/subfolder2/something.html ...
0
votes
1answer
1k views

nginx rewrite move from risky if statements to try_files. Can anybody help convert? (short)

I am trying to clean up my nginx rewrite rules for my vBulletin forum which has some modifications and additional software within the same site which causes problems. I have things working as they ...
2
votes
0answers
130 views

Url rewriting faliure in case of UTF8 urls in nginx

I am using Nginx webserver and I want to rewrite some old urls on my site to new ones inorder to prevent 404 errors. For English urls everything is OK and adding a rewrite rule like the following to ...
0
votes
0answers
42 views

CentOS 6 64Bit For DNS for my domain

Entries in DNS (named) are like www A 1.1.1.1 mail A 2.2.2.2 Well I am using wordpress in www.mydomainname.com now I have www.mydomain.com/?pageid=16 used for blogs so I want to add a entry in ...
1
vote
2answers
36 views

Apache rewrite downside?

Say I have my website stored on domain.com/mysite I add a rule in .htaccess to rewrite the URL to domain.com Is there any downside to storing the site in a subfolder and rewriting the URL like this? ...
3
votes
3answers
990 views

How to remove double slash in URLS served by nginx?

I need to replicate the following Apache rewrite rules in nginx config. What is the nginx equivalent to : RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ RewriteRule . %1/%2 [R=301,L] Target environment is ...
0
votes
1answer
384 views

Rewrite a specific path in xginx

I am trying to rewrite a specific path using nginx. I have setup my server using nginx/php-fpm/php and it is working fine. I have the following server configuration: server { listen 80; ...
0
votes
1answer
668 views

How to have url rewrite to a specific port on Mac OS X server behind DD-WRT router?

I've just setup a home web server using Mac OS X Lion's built-in Apache server. I setup access my Subsonic music server running on port 4040 and my torrent remote control on port 9091, as well as the ...
0
votes
1answer
679 views

Can't erase my suposedly re-writable DVD

I need to make a Windows 7 recovery disk. The problem is that I've only got one DVD lying around the house free to use. It's got a Ubuntu 10 Wubi installation in it which my uncle gave to me ages ...
0
votes
2answers
1k views

Nginx-Remove WWW from HTTPS

I would like to ask for some help with the following Nginx configuration, so that URLs such as https://www.mywebsite.com get rewritten as https://mywebsite.com. I am currently using the following ...
7
votes
1answer
11k views

Nginx: Serve static files out of a given directory - one level too deep

I'm pretty new to nginx configs. I'm having some difficulty with a pretty basic problem. I'd like to host some static files at /doc (index.html, some images, etc). The files are located in a directory ...
5
votes
1answer
3k views

How is Apache mapping files without extensions?

My local dev setup is mapping things like http://mydomain.dev/testhtmlpage to testhtmlpage.html and http://mydomain.dev/testphppage to testphppage.php. The browser stays on the orginally enter URL. ...
-1
votes
1answer
264 views

mod_rewrite URL capitalization [closed]

I'm considering using apache's mod_rewrite module to capitalize a single character in my domain name as presented to a user. For example: www.testatest.com would become www.testAtest.com Is this ...
0
votes
3answers
554 views

Possible to stop Adobe DreamWeaver from rewriting 'onclick' to 'onClick'?

I've been giving my dev team grief by checking in HTML edited in DW. It turns out that DW has silently been rewriting all instances of 'onclick' to 'onClick' completely breaking the application in ...
0
votes
2answers
841 views

apache RewriteCond variable for parts of REQUEST_URI

I migrate a static html site to drupal CMS, most content I just copied the html for now and want to leave it as is and make the relative links to pdf files working. Drupal has all files in this dir: ( ...
0
votes
1answer
788 views

Fiddler Web Debugging Proxy's “AutoResponder” feature on Linux

There is a website that I like visiting which uses a Javascript that does not work on Linux with Iceweasel. Looking into the source, I have found a simple way to fix it, so what I would like to do is ...
3
votes
4answers
2k views

What Firefox functionality do I use to rewrite and open the URL of the active page?

Our university provides a proxy service that allows me to browse websites as if I was online via the university network. However, lazy as I am, I get tired of going to the URL edit field in Firefox ...
2
votes
4answers
2k views

Redirect browser to different host and port

Background, Running windows 7, FF3.5, and am an admin. I recieve emails from an internal company service that has links. The problem is the links don't work from my office. If the resource is ...
0
votes
1answer
3k views

How do I forward requests to another URL without actually changing the URL in Apache?

I have Apache running in a domain, for example http://example.com. I also have Tomcat running on my server and I've forwarded all requests made to http://example.com/t/ to Tomcat and all other URLs ...
2
votes
3answers
194 views

Can't figure out why this regex doesn't apply

I am using Privoxy 3.0.10.0 to filter web pages before they're passed on to the browser. I can't figure out why this simple regex doesn't trigger a rewrite. Maybe someone more experienced will have ...