Re: [users@httpd] some questions to mod_rewrite

2021-01-02 Thread Daniel Ferradal
To find out if they are reasonable I would ask the nextcloud guys. They may be placeholder directives in case you are using certain plugin of theirs or similar. Cheers El jue, 17 dic 2020 a las 19:36, Lentes, Bernd () escribió: > > > > - On Dec 17, 2020, at 5:19 PM, Daniel Ferradal

Re: [users@httpd] some questions to mod_rewrite

2020-12-17 Thread Lentes, Bernd
- On Dec 17, 2020, at 5:19 PM, Daniel Ferradal dferra...@apache.org wrote: > Hey Bernd, > > I remember my first head scratches with regex, they can be so > confusing and difficult to understand. > > Although I remember preciously the day https://regexone.com/ opened my > eyes. It just

Re: [users@httpd] some questions to mod_rewrite

2020-12-17 Thread Daniel Ferradal
Hey Bernd, I remember my first head scratches with regex, they can be so confusing and difficult to understand. Although I remember preciously the day https://regexone.com/ opened my eyes. It just took me 45 minutes to understand the basics of it. I dearly recommend you to do the same and visit

Re: [users@httpd] some questions to mod_rewrite

2020-12-15 Thread Lentes, Bernd
- On Dec 11, 2020, at 4:13 PM, Eric Covener cove...@gmail.com wrote: > On Fri, Dec 11, 2020 at 10:06 AM Lentes, Bernd > wrote: >> >> - On Dec 9, 2020, at 6:02 PM, Eric Covener cove...@gmail.com wrote: >> >> Hi Eric, >> >> thanks for your answer. >> Now i'm struggling with RewriteRule

Re: [users@httpd] some questions to mod_rewrite

2020-12-11 Thread Eric Covener
On Fri, Dec 11, 2020 at 10:06 AM Lentes, Bernd wrote: > > - On Dec 9, 2020, at 6:02 PM, Eric Covener cove...@gmail.com wrote: > > Hi Eric, > > thanks for your answer. > Now i'm struggling with RewriteRule > ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L] > > Most is clear. The

Re: [users@httpd] some questions to mod_rewrite

2020-12-11 Thread Lentes, Bernd
- On Dec 9, 2020, at 6:02 PM, Eric Covener cove...@gmail.com wrote: Hi Eric, thanks for your answer. Now i'm struggling with RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L] Most is clear. The content of the parentheses () like build, tests .. is or-conjuncted by

Re: [users@httpd] some questions to mod_rewrite

2020-12-09 Thread Eric Covener
On Wed, Dec 9, 2020 at 11:35 AM Lentes, Bernd wrote: > > Hi, > > i just setup a Nextcloud instance in conjunction with OnlyOffice. > NC makes heavy use of mod_rewrite and i try to understand it. > mod_rewrite isn't easy, so i have some questions and hope for help: > > 1. Is a RewriteCond just

[users@httpd] some questions to mod_rewrite

2020-12-09 Thread Lentes, Bernd
Hi, i just setup a Nextcloud instance in conjunction with OnlyOffice. NC makes heavy use of mod_rewrite and i try to understand it. mod_rewrite isn't easy, so i have some questions and hope for help: 1. Is a RewriteCond just valid for the consequent rule or for all consequent rules ? 2.