Skip to content

Commit

Permalink
[TASK] update robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Teisi committed Jul 30, 2024
1 parent f391ebc commit 925acd8
Show file tree
Hide file tree
Showing 2 changed files with 972 additions and 716 deletions.
4 changes: 1 addition & 3 deletions Examples/dummy_.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ ServerSignature Off
</ifmodule>

RewriteEngine On
# Allow e.g. Basic Auth
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

# Store the current location in an environment variable CWD to use
# mod_rewrite in .htaccess files without knowing the RewriteBase
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
Expand Down Expand Up @@ -38,6 +35,7 @@ RewriteRule .? - [E=TYPO3_CONTEXT:Development/Server]
RewriteCond %{HTTP_HOST} ^(www\.)?domain\.localhost$ [NC]
RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Development]

# Allow e.g. Basic Auth
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

### Example for directorys cache and log outside of document root for better security
Expand Down
Loading

0 comments on commit 925acd8

Please sign in to comment.