Hello,
I have setup following for my website:
mydomain.com
aliases:
www.mydomain.com
media1.mydomain.com
media2.mydomain.com
i used the mod rewrite to rewrite non www to www, but now the media domains are not reachable anymore..
any workaround for this??
Search found 11 matches
- Sun Aug 06, 2023 2:23 pm
- Forum: Apache templates
- Topic: Force www or non-www website URL redirection
- Replies: 1
- Views: 15590
- Sat Aug 05, 2023 8:55 pm
- Forum: General discussion
- Topic: Adjust fail2ban to block GET /level/15/exec/-/sh/run/CR
- Replies: 2
- Views: 3028
Re: Adjust fail2ban to block GET /level/15/exec/-/sh/run/CR
this seems to work: [Definition] failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+wp-login.php.+$ ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+emaildirect.+$ ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+phpstorm.+$ ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+level/15.+$ ^<HOST> \- \S+ \[\] ...
- Sat Aug 05, 2023 5:37 pm
- Forum: General discussion
- Topic: Adjust fail2ban to block GET /level/15/exec/-/sh/run/CR
- Replies: 2
- Views: 3028
Re: Adjust fail2ban to block GET /level/15/exec/-/sh/run/CR
having a hard time to get the regex right, fail2ban-regex always says missed 

- Sat Aug 05, 2023 12:34 pm
- Forum: General discussion
- Topic: Adjust fail2ban to block GET /level/15/exec/-/sh/run/CR
- Replies: 2
- Views: 3028
Adjust fail2ban to block GET /level/15/exec/-/sh/run/CR
Hello, One of my websites is flooded with this command: GET /level/15/exec/-/sh/run/CR When i google it, it seems someone is trying to use an cisco router exploit. Anyone who allready made a fail2ban filter for this and wants to share?? think this is a good base, but need the above command in it: ht...
- Tue Jul 25, 2023 4:34 pm
- Forum: Web
- Topic: The .htaccess URL rewrite is not functioning properly for images
- Replies: 2
- Views: 7881
Re: .htaccess url rewrite not working for images
thanks, solved!
- Mon Jul 24, 2023 9:01 pm
- Forum: Web
- Topic: The .htaccess URL rewrite is not functioning properly for images
- Replies: 2
- Views: 7881
The .htaccess URL rewrite is not functioning properly for images
Url rewrite is working, only image urls are not rewritten. You would think if it works for urls it would work for images aswell # ~~start~~ Do not remove this comment, thirty bees will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automatically g...
- Sun Jan 01, 2023 3:29 pm
- Forum: General discussion
- Topic: Dist upgrade from debian 9
- Replies: 0
- Views: 1490
Dist upgrade from debian 9
Hello, Is there a guide to get things running when you update from debian 9? (yes i know its AOL for a while now, but i havent touched the server for 2 years i think) I want to go to a newer version so i can update packages again, but i dont want to mess up my e-shop that is running on this server.....
- Mon Jan 03, 2022 3:28 pm
- Forum: General discussion
- Topic: Update php 7.0 to 7.4
- Replies: 6
- Views: 22161
Re: Update php 7.0 to 7.4
that seemed to fix it
thanks!!
thanks!!
- Mon Jan 03, 2022 3:20 pm
- Forum: General discussion
- Topic: Update php 7.0 to 7.4
- Replies: 6
- Views: 22161
Re: Update php 7.0 to 7.4
seems i killed something, went well, but apache is not starting: systemctl status apache2.service: Jan 03 15:15:09 systemd[1]: Starting The Apache HTTP Server... Jan 03 15:15:09 apachectl[13359]: AH00526: Syntax error on line 17 of /home/admin/conf/web/server.zelfbouw-domotica.be.apache2.conf: Jan 0...
- Mon Jan 03, 2022 3:03 pm
- Forum: General discussion
- Topic: Update php 7.0 to 7.4
- Replies: 6
- Views: 22161
Re: Update php 7.0 to 7.4
I think i installed apache, but nginx is there as reverse proxy, how can i check this in control panel/terminal??
You linked to multi php, but i only want to install 7.4, you script is also working when i enable only 1 version?
Thanks for your fast response
You linked to multi php, but i only want to install 7.4, you script is also working when i enable only 1 version?
Thanks for your fast response