Re: [users@httpd] Redirection confusion

2025-02-08 Thread Mike Dewhirst
Good advice :-)M--(Unsigned mail from my phone) Original message From: ohaya Date: 9/2/25 03:30 (GMT+10:00) To: users@httpd.apache.org Subject: Re: [users@httpd] Redirection confusion Slightly off-topic:  You mentioned you had tried AI and their suggested solutions

Re: [users@httpd] Redirection confusion

2025-02-08 Thread Mike Dewhirst
/25 23:20 (GMT+10:00) To: users@httpd.apache.org Subject: Re: [users@httpd] Redirection confusion On Sat, Feb 8, 2025 at 5:32 AM Mike Dewhirst wrote: I have a number of domain names which I want to redirect in order to have a single search engine site

Re: [users@httpd] Redirection confusion

2025-02-08 Thread ohaya
Slightly off-topic:  You mentioned you had tried AI and their suggested solutions didn't work.   FYI, I had been posting a problem with Apache and a problem with "undefined symbol".   Thankfully, I eventually got information that let me get past that from USERS (real people) on this mailing lis

Re: [users@httpd] Redirection confusion

2025-02-08 Thread Frank Gingras
On Sat, Feb 8, 2025 at 5:32 AM Mike Dewhirst wrote: > I have a number of domain names which I want to redirect in order to have > a single search engine site. > > mysite.com > mysite.com.au > mysite.au > www.mysite.com > www.mysite.com.au > www.mysite.au > > I want mysite.com to be the single sit

[users@httpd] Redirection confusion

2025-02-08 Thread Mike Dewhirst
I have a number of domain names which I want to redirect in order to have a single search engine site. mysite.com mysite.com.au mysite.au www.mysite.com www.mysite.com.au www.mysite.au I want mysite.com to be the single site for seo purposes. I want any of the above to force redirection to mys

[users@httpd] redirection on apache server

2021-01-01 Thread jacques-b.thibault
Hello apache fellows,‌ I have set up an apache server on a raspbian unit but I am not that clever on network apart basic configuration, port forwarding and authentication process. I got letsencrypt certification so that to enable https access. I wanted to put some big files on another raspbian m

Re: [users@httpd] Redirection to https only for the top-level page

2019-02-04 Thread Frank Gingras
If you're stuck with .htaccess, then mod_rewrite is likely your only recourse. I would recommend debugging mod_rewrite on your development / staging server with the rewrite log, too. Lastly, look up the "http2https" recipe on the httpd wiki. On Sat, 2 Feb 2019 at 12:51, R. Diez wrote: > First o

Re: [users@httpd] Redirection to https only for the top-level page

2019-02-02 Thread R. Diez
First of all, thanks for your answer. [...] Htaccess is only used for clients on a host server (such as a godaddy.com website) where the client does NOT have access to configuration files of the server… That is exactly my case. HSTS does not seem suitable either. I hope someone can help me

Re: [users@httpd] Redirection to https only for the top-level page

2019-02-02 Thread angel Hall-Coulston
As a small side note, Using an .htaccess file is NOT recommended when a sysadmin has access to the server. Htaccess is only used for clients on a host server (such as a godaddy.com website) where the client does NOT have access to configuration files of the server… Although it DOES work, apache

Re: [users@httpd] Redirection to https only for the top-level page

2019-02-01 Thread Dan Ehrlich
You’ll want to look into HSTS https://https.cio.gov/hsts/ Basically it will let the user’s browser know “in advance” to always connect via HTTPS, eliminating the vulnerability of first connecting to a site over HTTP before being redirected. > On Feb 1, 2019, at 8:09 AM, R. Diez wrote: > > H

[users@httpd] Redirection to https only for the top-level page

2019-02-01 Thread R. Diez
Hi all: I have very little Apache experience. I just occasionally help with a couple of websites on 2 different hosting companies of the "inexpensive" variety. I want to automatically redirect from somesite.com to www.somesite.com, and from http to https. With difficulty, I have managed to put

Re: [users@httpd] Redirection of URL in Apache

2017-05-11 Thread Eric Covener
On Thu, May 11, 2017 at 11:54 AM, Sailaja Gadireddy wrote: > I have a request to redirect a URL to a different server (host) and then to > another server. > > How rewrite module can help me in this case. Seems unnecessary, Redirect and RedirectMatch are simpler. -

[users@httpd] Redirection of URL in Apache

2017-05-11 Thread Sailaja Gadireddy
Hello Team, I have a request to redirect a URL to a different server (host) and then to another server. How rewrite module can help me in this case. Please do the needful and let me know if need further details. Thanks & Regards, Sailaja.

[users@httpd] Redirection from www.example.com to login page at www.example.com/index.jsp

2015-08-16 Thread Tech Sadhu
I have setup apache2 and tomcat7 on ubuntu 14.04. my domain name is www.example.com , which I want to redirect to the www.example.com/index.jsp on to the tomcat as this is the login page. How can this be done? The set up works fine for a request made to www.example.com/index.jsp. The apache virtua

[users@httpd] Redirection single pages from subdomain to another subdomain htaccess

2015-05-12 Thread Michele Braccini
I'm working with a Wordpress Installation (WPML with 3rd level domain es.site.com, fr.site. com, en.site.com ) on LAMP. I need to redirect many pages from subdomain to a new subdomain (with .htaccess) Example: esp.site.com/oldpage -> es.site.com/newpage (different subdomain and different page na

Re: [users@httpd] Redirection via HTTPS

2015-02-11 Thread YUSUI T
2015-02-09 16:31 GMT+09:00 Daniel : > > > 2015-02-08 21:15 GMT+01:00 Yann Ylavic : >> >> On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T >> > wrote: >> >> >> >> root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf >> >> >> >> Ser

Re: [users@httpd] Redirection via HTTPS

2015-02-11 Thread YUSUI T
2015-02-10 0:36 GMT+09:00 Jason Cillo : > In case this is helpful to someone, a book I bought on .htaccess recommends > this to require SSL/HTTPS by port: > > > RewriteCond %{SERVER_PORT} ^80$ > RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301, L] > > > ...Jason Thank you a

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread Jason Cillo
, February 9, 2015 9:53 AM Subject: Re: [users@httpd] Redirection via HTTPS 2015-02-09 16:31 GMT+09:00 Daniel : > > > 2015-02-08 21:15 GMT+01:00 Yann Ylavic : >> >> On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T >>

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread YUSUI T
2015-02-09 16:31 GMT+09:00 Daniel : > > > 2015-02-08 21:15 GMT+01:00 Yann Ylavic : >> >> On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T >> > wrote: >> >> >> >> root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf >> >> >> >> Ser

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread YUSUI T
2015-02-09 5:15 GMT+09:00 Yann Ylavic : > On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T wrote: >>> >>> root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf >>> >>> ServerName www.mydomain.com >>> Redirect / https://www.my

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread YUSUI T
2015-02-09 4:43 GMT+09:00 Chris Arnold : > >> Server should be SSL-aware but has no certificate configured [Hint: >> SSLCertificateFile] ((null):0) >> [Sun Feb 08 13:31:27.595849 2015] [ssl:emerg] [pid 7124] AH02312: >> Fatal error initialising mod_ssl, exiting. > > Are you sure you have a cert con

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread Daniel
2015-02-08 21:15 GMT+01:00 Yann Ylavic : > On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: > > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T > wrote: > >> > >> root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf > >> > >> ServerName www.mydomain.com > >> Redirect / http

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread Yann Ylavic
On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T wrote: >> >> root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf >> >> ServerName www.mydomain.com >> Redirect / https://www.mydomain.com/ >> > > You probably want to redirec

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread Yann Ylavic
On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T wrote: > > root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf > > ServerName www.mydomain.com > Redirect / https://www.mydomain.com/ > You probably want to redirect to https when the request is plain http, hence : above. -

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread Chris Arnold
> Server should be SSL-aware but has no certificate configured [Hint: > SSLCertificateFile] ((null):0) > [Sun Feb 08 13:31:27.595849 2015] [ssl:emerg] [pid 7124] AH02312: > Fatal error initialising mod_ssl, exiting. Are you sure you have a cert configured? Double check ssl config ---

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread YUSUI T
2015-02-08 20:30 GMT+09:00 Chris Arnold : > You probably could have left that entry in and just added the Redirect > statement (not sure what flavor of OS you are using). OS I am using is Ubuntu 14.04.1 LTS (GNU/Linux 2.6.32-042stab093.5 x86_64). > root@hostname:~# tail -n 6 /etc/apache2/mods-a

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread Chris Arnold
On Feb 8, 2015, at 1:38 AM, YUSUI T mailto:yusui.tomik...@gmail.com>> wrote: The error.log says nothing. Next, I exchanged for the "Redirect". But it shows the following errors. You probably could have left that entry in and just added the Redirect statement (not sure what flavor of OS you

Re: [users@httpd] Redirection via HTTPS

2015-02-07 Thread YUSUI T
2015-02-08 12:42 GMT+09:00 Chris Arnold : > >Hello. > I> have a question about 301 redirection of https. > > >My website is accessible with both of >non-subdomain http(s):// > mydomain.com and >subdomain-www http(s)://www.mydomain.com. >Both have > the same IP address. > I> would like to chang

RE: [users@httpd] Redirection via HTTPS

2015-02-07 Thread Chris Arnold
>Hello. I> have a question about 301 redirection of https. >My website is accessible with both of >non-subdomain >http(s)://mydomain.com and >subdomain-www >http(s)://www.mydomain.com. >Both have the same IP >address. I> would like to change http

[users@httpd] Redirection via HTTPS

2015-02-07 Thread YUSUI T
Hello. I have a question about 301 redirection of https. My website is accessible with both of non-subdomain http(s)://mydomain.com and subdomain-www http(s)://www.mydomain.com. Both have the same IP address. I would like to change https://mydomain.com/ to redirection for https://www.mydomain.com/

Re: [users@httpd] Redirection

2011-10-21 Thread Pete Houston
On Thu, Oct 20, 2011 at 05:02:19AM -0700, apt...@spam-message.com wrote: > Pete, > > Thanks for your reply. What would you use? I would use Redirect as in the previous reply. > The problem is, I have numerous articles created under an old CMS that > I've moved to a new CMS. Google et al have ind

Re: [users@httpd] Redirection

2011-10-20 Thread aptach
Pete, Thanks for your reply. What would you use? The problem is, I have numerous articles created under an old CMS that I've moved to a new CMS. Google et al have indexed the old articles. Since the names (as well as the directories) have all changed, I'm left with the need to do a one-to-one red

Re: [users@httpd] Redirection

2011-10-18 Thread Pete Houston
On Tue, Oct 18, 2011 at 10:30:20AM -0700, apt...@spam-message.com wrote: > > I want "http://mydomain.com/j15/me.html"; to be redirected to > "http://mydomain.com/them.html";. Sounds simple enough. Indeed it is. Here's a solution: Redirect/j15/me.html http://mydomain.com/them.html

Re: [users@httpd] Redirection

2011-10-18 Thread Frank Gingras
On 10/18/2011 01:30 PM, apt...@spam-message.com wrote: I've spent at least three hours trying to do what seems like a simple redirection. Yes, I've read documentation, searched the Google god and read numerous articles and posts, etc. In a nut shell, it seems when I add a leading slash to the

[users@httpd] Redirection

2011-10-18 Thread aptach
I've spent at least three hours trying to do what seems like a simple redirection. Yes, I've read documentation, searched the Google god and read numerous articles and posts, etc. In a nut shell, it seems when I add a leading slash to the pattern of a redirect, it breaks. If I add a leading path (