python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Apache2 rewrite returns filename extension
I really don't understand where I'm doing wrong. I'm trying to apply a rule to
http://localhost/prezzo/account/1
so that it is rewritten as
http://localhost/prezzo/account/test.php?user=1
I'm using ...
Nicero
Votes: 0
Answers: 1
Apache rule based on http status and on response status
I want to create an apache rule based on the user agent AND on the http response.
For example, I want a rule that says: if user-agent=test and the status of the request based on this user agent=503, r...
Warok
Votes: 0
Answers: 2
How do I redirect multiple urls to same url
how do I redirect multiple url to another one url
I have tried but its not working
RewriteCond %{HTTP_HOST} ^sub.domain.to/q1$ [NC,OR]
RewriteCond %{HTTP_HOST} ^sub.domain.to/q2$ [NC,OR]
RewriteCond...
skcrpk
Votes: 0
Answers: 2
.htaccess rewrite requests to a subdirectory if they exist, otherwise redirect to a subdomain
I want something very specific to happen with my .htaccess file, but I'm not sure if it's possible. I want links like example.com/ExampleFile.txt to be forwarded to example.com/Other/ExampleFile.txt (...
Ryder Cragie
Votes: 0
Answers: 1