-
- 77 Posts
Wow, that was fast and very helpful again, thanks!
-
- 1,198 Posts
Thank you mrhaw!
Can you help me to merge all these htaccess suggestions in a simple package for all Evo users?
I've created this repository:
https://github.com/Nicola1971/Evolution-custom-htaccess
-
- 2,877 Posts
I forked it and edited both .htaccess files. Review them:
https://github.com/mrhaw/Evolution-custom-htaccess
I can't figure out your equal sign!?
http://bit.ly/whatIsTheEqualSignFor
Maybe you can teach me what it's good for!
-
- 1,198 Posts
Quote from: mrhaw at Aug 09, 2014, 01:15 AMI forked it and edited both .htaccess files. Review them:
https://github.com/mrhaw/Evolution-custom-htaccess
I can't figure out your equal sign!?
http://bit.ly/whatIsTheEqualSignFor
Maybe you can teach me what it's good for!
Thank you
which equal sign ?
-
- 1,198 Posts
Quote from: banzai at Aug 09, 2014, 11:43 AMQuote from: mrhaw at Aug 09, 2014, 01:15 AMI forked it and edited both .htaccess files. Review them:
https://github.com/mrhaw/Evolution-custom-htaccess
I can't figure out your equal sign!?
http://bit.ly/whatIsTheEqualSignFor
Maybe you can teach me what it's good for!
Thank you
which equal sign ?
EDIT: your modded htaccess cause an error 500 on my server
-
- 2,877 Posts
1. The equal sign you used: <filesmatch "\.(php|tpl)$"=""> // is it a YAMS thing?
2. I guess some of the default things I uncommented should be left commented.
Try now:
https://github.com/mrhaw/Evolution-custom-htaccess/commit/5f0a174dbc45f44f7c3e13c7b4d46a7ad45e3b0b
Now this is the full spec:
--> This one does NOT re-direct to burp or blackhole but sends HTTP response 403 (FORBIDDEN).
Security @ Line 1-7 and @ Line 57-141
+ @ Line 16 I uncommented:
php_value date.timezone ...
+ @ Line 19-20 I added:
Options -Indexes
DirectoryIndex index.php index\.htm$l
// Added a readme -->
https://github.com/mrhaw/Evolution-custom-htaccess/tree/master
[ed. note: mrhaw last edited this post 9 years, 9 months ago.]
-
- 1,198 Posts
Still get 500 error
with this one works fine:
https://github.com/Nicola1971/Evolution-custom-htaccess/blob/1b5192e55fe917f46147d6dad157b2f645492deb/custom.root.ht.access
Edit: Solved - was the Line 16 (php_value date.timezon).
[ed. note: banzai last edited this post 9 years, 9 months ago.]
-
- 32 Posts
i found several php files across the installation but mostly in snippets and plugins. 100% cpu usage was the hint. if somebody is interested in evaluating that i could offer a backup. i had to say that i run 1.0.8 when recognizing it. now on the latest version. nice work!