Re: [users@httpd] Re: Need help understanding mod_rewrite and redirect

2023-05-03 Thread Jim Weill
On Wed, May 3, 2023 at 3:45 PM Frank Gingras wrote: > 1) Avoid rewriting from or blocks. > RewriteBase says it cannot be called outside , is that not the case...? > 2) Avoid using mod_alias (redirect) from that context as well > I tried putting the redirect outside the and it would not

[users@httpd] Re: Need help understanding mod_rewrite and redirect

2023-05-03 Thread Jim Weill
The logs say something of the form: input=full.website.base.URL pattern=hostname.fq.dn not matched Where am I going wrong here? jim On Wed, May 3, 2023 at 9:55 AM Jim Weill wrote: > We have a website that has been in use for a project for years, which > someone else took up and woul

[users@httpd] Need help understanding mod_rewrite and redirect

2023-05-03 Thread Jim Weill
We have a website that has been in use for a project for years, which someone else took up and would like the site permanently redirected to the new URL. For whatever reason I cannot get this redirect to work consistently, and I'd like to know where I'm going wrong. The only thing I changed on

[users@httpd] mod_rewrite redirect not working in private browsing?

2023-03-20 Thread Jim Weill
We have a site which was run by a group whose members have all moved on, but they kept the website active to preserve their work online. They've asked it to be permanently redirected to the new location for anyone still using the old URL. I set this up in the site's .conf file under the conf.d

Re: [users@httpd] Is NGINX faster than Apache?

2021-03-11 Thread Jim Weill
Speaking for myself, I've certainly gotten frustrated with the config faster for nginx than apache. jim On Thu, Mar 11, 2021 at 9:34 AM Jason Long wrote: > Hello, > Is it true that NGINX is faster than Apache? > > https://www.hostingadvice.com/how-to/nginx-vs-apache/ > > In which

Re: [users@httpd] mod_rewrite question on directory

2019-06-12 Thread Jim Weill
rect directive and separate >> vhost. To have all requests handled by a php routing script, use >> FallbackResource /path/to/file.php >> >> Lastly, to redirect to https://, use Redirect from a :80 vhost. >> >> On 11/06/19 01:24 PM, Jim Weill wrote: >> > Th

Re: [users@httpd] mod_rewrite question on directory

2019-06-11 Thread Jim Weill
mentioned. > > On 11/06/19 01:33 AM, Igor Cicimov wrote: > > Since you already have two separate domains why not use virtual hosts > > each with it's own document root? > > > > IC > > > > On Tue, Jun 11, 2019, 9:18 AM Jim Weill > <mailto:moon...@icsi.berkeley.

[users@httpd] mod_rewrite question on directory

2019-06-10 Thread Jim Weill
We have a test server, with test sites that are in two different branches of development, but essentially the same base content. They live at /x/y/z/testsite and /x/y/z/test-site. We have other sites such as wikis and one-offs which need to stay online on our production server, and I have been

Re: [users@httpd] RE: [EXT] Re: [users@httpd] Urgent: Apache log is not rotating after the upgrade

2019-05-28 Thread Jim Weill
--- > > Srikanth Pippari | V3OPS team. > > Email ID : spipp...@vitechinc.com > > --- > > > > *From:* Jim Weill > *Sent:* Tuesday, May 28, 2019 3:55 PM >

Re: [users@httpd] Urgent: Apache log is not rotating after the upgrade

2019-05-28 Thread Jim Weill
We have a similar setup and the log actually **does** rotate, but instead of archiving the active log to the next numbered log and renumbering them down the line, it actually instead moves the active log to the next archive number and moves the rest down the line. So for example, instead of

Re: [users@httpd] Re: Simple file listing issue in browser, 2.2 vs 2.4

2019-05-03 Thread Jim Weill
and Rehabilitation > > (775) 684-3804 (office) jpcauh...@detr.nv.gov > > > > *From:* Jim Weill [mailto:moon...@icsi.berkeley.edu] > *Sent:* Friday, May 3, 2019 1:29 PM > *To:* users@httpd.apache.org > *Subject:* Re: [users@httpd] Re: Simple file listing issue in browser, >

Re: [users@httpd] Re: Simple file listing issue in browser, 2.2 vs 2.4

2019-05-03 Thread Jim Weill
Doesn't 2.4.x use "Require" instead of the "Order allow, deny Allow from all"? As I understand it, 2.4.x should have "Require all granted" in place of those last two lines in your config. jim On Fri, May 3, 2019 at 1:11 PM Jeff Cauhape wrote: > Yes, the index options are the same. > > > >

[users@httpd] Re: RHEL6 software collections mod_rewrite not working

2019-05-03 Thread Jim Weill
It's the little things. Apparently I was missing "RewriteEngine On" at the top of the file. Sorry if this wasted anyone's time... On Thu, May 2, 2019 at 3:34 PM Jim Weill wrote: > We are trying to use the software collections version of apache 2.4 > (httpd24-httpd p

[users@httpd] RHEL6 software collections mod_rewrite not working

2019-05-02 Thread Jim Weill
We are trying to use the software collections version of apache 2.4 (httpd24-httpd package) on RHEL6 and it claims mod_rewrite is being loaded but none of our previously working rewrites seem to be doing what we expect. We have a site.conf file as follows: RewriteCond %{HTTP_HOST}