Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

I put the following in my .htaccess file: RewriteCond %{DOCUMENT_ROOT}/index.html.static -f RewriteRule ^index.html$ /index.html.static But no joy. If I comment out the first line - the condition - ...
Richard's user avatar
  • 5,121
4 votes
1 answer
91 views

I have a task to transform a project that currently works in a single language into a multilingual project. The current project URL structure looks like this: www.site.com www.site.com/contact.php www....
0 votes
0 answers
92 views

Request https://example.com/ , htacces file : RewriteEngine On RewriteRule ^$ /one RewriteRule ^/one /two [R] result I get https://example.com/two, remove the slash in the second RewriteRule ...
0 votes
1 answer
73 views

I currently have my Laravel project accessible via the URL: https://URLXX.com/dev/public/ I’d like to access it directly using: https://URLXX.com/dev The same setup should also work for my staging and ...
0 votes
0 answers
73 views

I have an older version of my app that I upgraded to SpringBoot 3.5.x and the SAML ACS URL changed after upgrading. So I used urlrewrite to forward the request from the old URL to the new URL. ...
0 votes
1 answer
93 views

I’m using the Nager.PublicSuffix library in C# to extract domains from URLs. It works fine for normal links, but I’m struggling with cases where the link is wrapped by Microsoft SafeLink's or other ...
0 votes
0 answers
43 views

I am using helm to create kubernetes resouces and manifest is as below --- # Source: project-app/charts/backend/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount metadata: name: ...
0 votes
0 answers
38 views

the following htaccess rule will redirect files without extension (contact) to (contact.php) but it also run on folders I want it to run only on files only and skip running on folders RewriteEngine on ...
1 vote
1 answer
89 views

I want my subdomain sub.example.com to render the page example.com/brand without changing the URL. Examples sub.example.com/ should render example.com/brand sub.example.com/work should render example....
0 votes
0 answers
32 views

I want to rename specific http get parameter since application (NextCloud) changed it from path to dir and I want to preserve compatibility with old links. Original URL was: https://example.com/index....
1 vote
0 answers
63 views

UPDATE – Solution – <?php include 'loggercode.php'; $filename = "pages-26-27.pdf"; header("Content-type: application/pdf"); header("Content-Length: "...
0 votes
0 answers
51 views

My website is divided in 3 parts, one part for PC/APPLE, second part for MOBILE and third part for ADMIN. I have an htaccess that does the trick to redirect user to PC/APPLE part or to MOBILE part. ...
0 votes
2 answers
86 views

This should be easy (if possible), but for some reason, I cannot find an example, and an HTML redirect causes too many redirects. This is for a site with abc.123.whatever binded to it. I'm looking for:...
0 votes
0 answers
43 views

I'm using Apache to serve a React page and have set up a self-hosted Prerender service to serve prerendered HTML to crawlers like Googlebot. My goal is that when a bot (e.g., Googlebot) visits https://...
2 votes
1 answer
36 views

I am looking to create a rewrite file (.htaccess) for the National Library of Medicine (NLM) Classification, which uses URLs of this form (https://classification.nlm.nih.gov/schedules/QS#QS%2023) to ...

15 30 50 per page
1
2 3 4 5
...
1371

AltStyle によって変換されたページ (->オリジナル) /