Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.apache.configuration > #4379
| From | rafflenbeul <daniel-r@gmx.net> |
|---|---|
| Newsgroups | alt.apache.configuration |
| Subject | Big Problems with rewrite... |
| Date | 2019-10-13 14:37 +0200 |
| Message-ID | <h0gk56Fgi30U1@mid.individual.net> (permalink) |
Hello..
I`ve got the following Problem and hppe someone could help me..
In my apache2 document root ist the following htaccess :
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
Should rewrite from http to https.
That works
but from the root another folder with folder insite :
first folder, new htaccess :
Options +FollowSymLinks
RewriteRule ^(.*)-p-(.*).html$ main_34.php?items_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ main_29.php?bigPfad=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ main_29.php?producers_id=$2&%{QUERY_STRING}
First thing that`s NOT works
From her another underfolder with htaccess :
AuthType Basic
AuthUserFile /home/docjack/public_html/bwshop/configmain/.htpasswd
AuthName "Geschuetzer Bereich"
order deny,allow
allow from all
require valid-user
That doesn`t work also.
WHY ???
Back to alt.apache.configuration | Previous | Next — Next in thread | Find similar
Big Problems with rewrite... rafflenbeul <daniel-r@gmx.net> - 2019-10-13 14:37 +0200 Re: Big Problems with rewrite... Mk5000 <marika5000@gmail.com> - 2019-10-13 09:59 -0500
csiph-web