Questions tagged [rewrite]
The rewrite tag has no summary.
44 questions
0
votes
1
answer
64
views
How Can I Use the "@" or "At" Symbol in ParrotOS?
How can I do the tabs' trick to type the "@" or "At" symbol while writing thru ParrotOS?
With the OS, I've been having issues setting the @ symbol for email transfer, and I need ...
0
votes
0
answers
227
views
Convert htaccess rewrite rules script to nginx config
please hlep with this script...
i want convert htaccess rewrite rules script to nginx config.
.htaccess:
AddDefaultCharset utf-8
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\...
1
vote
0
answers
614
views
Remove parameters from URL
I need remove a parameter from urls with htaccess
from
1) http://example.com/?id=126:&catid=89
2) http://example.com/page?id=126:&catid=89
to
1) http://example.com/
2) http://example.com/page
...
0
votes
2
answers
791
views
What is ROM (Read Only Memory)?
If ROM is non-volatile memory, that means it can not be erased, rewritten, or modified. Then why can data, e.g. a song or photo, in a phone having 64GB ROM, be deleted or replaced with new data?
1
vote
1
answer
270
views
Some problems with nginx rewrites - forwarding request from folder to subdomain , then processing it further
I am trying to do the following, and maybe I'm just stuck on a stupid syntax error.
old site had a sub-site called database, so we had:
www.example.com (getting entirely replaced )
www.example.com/...
0
votes
1
answer
2k
views
Nginx rewrite rules not working
We are moving our site from Apache to Nginx. So far, the rules that we have converted from .htaccess rules to nginx are working fine but this particular rule is giving me a hard time.
I've tried ...
1
vote
1
answer
3k
views
Rewrite url and serve file with such filename nginx
I have a strange task and I have no idea can I do it or not.
Nginx gets request by url
Nginx must remove from url characters by regex
And Nginx must serve file with that name
For example:
Request /...
0
votes
0
answers
37
views
Rewrite domain to specific URI
Each domain has own .conf file in NGINX.
Now, I have one root project in /var/www/html/myproject/public and I want to rewrite the given domains that fall under specific URI, so
having server_name ...
1
vote
1
answer
310
views
What write patterns are "flash-friendly"?
Assume we are talking about a run-of-the-mill USB flash drive (which may or may not do wear leveling) and a "dumb" filesystem that isn't especially optimized for flash memory (like FAT32, etc.) The ...
1
vote
1
answer
691
views
How I can add Rewrite rule in htaccess only for home page?
I have a problem with apache.
My site has these rules now:
RewriteCond %{HTTP_ACCEPT} text/html [NC]
RewriteCond %{HTTP_HOST} ^mysqite\.com [NC]
RewriteRule .* path/to/html/my.html [L]
I need create ...
2
votes
1
answer
662
views
dokuwiki, nginx and farms
I am attempting to setup multiple dokuwiki's but I am really struggling...
I can set up one with relative ease but I would like to make use of the farm concept ( https://www.dokuwiki.org/farms ). The ...
0
votes
0
answers
2k
views
IIS 7.5 URL Rewrite to HTTPS not completly working
Lately I've installed a SSL certificate for a website on a IIS 7.5 webserver. Then i set up a URL rewrite rule to rewrite HTTP to HTTPS. So far almost everything is working except for one thing. If i ...
0
votes
1
answer
1k
views
Web browser does not hide root slash in URL between host & path
Thanks in advance for any help provided.
Update: Tanks to Gerard H. Pille, Adrien replies and some logs investigations I've come to transforming question a bit.
Now I firmly realize that final slash ...
0
votes
2
answers
3k
views
How to map a external subfolder to different server (LAN) subfolder in Apache (CentOS Web Panel)
System: CentOS 6.8 with Centos Web Panel
Server: Apache
Server IP: 10.0.0.150
I have public URL of sub.domain.com/folder and I need to Proxy/Rewrite/Map to 10.0.0.253/folder.
I want sub.domain.com/...
0
votes
1
answer
3k
views
NGINX: rewrite specific (variable) path only
I want to rewrite a url containing a specific variable path, for one specific user ip only.
http://domain.com/variable
Should become:
http://domain.com/variable/system
However, if there is another ...