Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Big Problems with rewrite...

2 views
Skip to first unread message

rafflenbeul

unread,
Oct 13, 2019, 8:37:59 AM10/13/19
to
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 ???

Mk5000

unread,
Oct 13, 2019, 11:00:01 AM10/13/19
to
Dunno

Mk5000

The whole earth boiled / And heaven and the sea." —theogony

0 new messages