Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ryanz

Pages: [1]
1
CentOS 7 Problems / Re: WebDAV is working on Centos 7?
« on: February 15, 2018, 07:46:27 PM »
Why Why Why CWP Admin?

Your last update to CWPpro version 0.9.8.473 broke all the work we did on WebDAV.

Could you please take note of all the steps above and ensure you leave a working WebDAV or provide simple enable/disable functionality in the panel.

2
It's definitely not something in vhosts or in the .htaccess

Apache Vhost Template:

# vhost_start DOMAIN_REPLACE
<VirtualHost IP_REPLACE:PORT_REPLACE>
   ServerName DOMAIN_REPLACE
   ServerAlias www.DOMAIN_REPLACE
   ServerAdmin webmaster@DOMAIN_REPLACE
   DocumentRoot PATH_REPLACE
   UseCanonicalName Off
   ScriptAlias /cgi-bin/ PATH_REPLACE/cgi-bin/

   # Custom settings are loaded below this line (if any exist)
   # Include "/usr/local/apache/conf/userdata/USER_REPLACE/DOMAIN_REPLACE/*.conf

   <IfModule mod_userdir.c>
      UserDir disabled
      UserDir enabled USER_REPLACE
   </IfModule>

   <IfModule mod_suexec.c>
      SuexecUserGroup USER_REPLACE USER_REPLACE
   </IfModule>

   <IfModule mod_suphp.c>
      suPHP_UserGroup USER_REPLACE USER_REPLACE
      suPHP_ConfigPath /home/USER_REPLACE
   </IfModule>

   <Directory "PATH_REPLACE">
      AllowOverride All
   </Directory>


# Apache Virtual host file starts here

server {
listen YOURSERVERIP:NGINXPORT;
access_log /var/log/nginx/access.YOURDOMAIN.log;
error_log /var/log/nginx/error.YOURDOMAIN.log;
server_name YOURDOMAIN www.YOURDOMAIN;
root DOCROOT;

location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)\$ {
expires 7d; #Comment this out if you are using the apache backend cache-control/expires headers.
try_files \$uri \@backend;
}
error_page 405 = \@backend;
error_page 500 = \@custom;
add_header X-Cache "HIT from Backend";
proxy_pass http://YOURSERVERIP:PROXYPORT;
include proxy.inc;
}
location \@backend {
internal;
proxy_pass http://YOURSERVERIP:PROXYPORT;
include proxy.inc;
}
location \@custom {
internal;
proxy_pass http://YOURSERVERIP:PROXYPORT;
include proxy.inc;
}
location ~ .*\.(php|jsp|cgi|pl|py)?\$ {
proxy_pass http://YOURSERVERIP:PROXYPORT;
include proxy.inc;
}
location ~ /\.ht {
deny all;
}
}

# Virtual host file ends here


# Nginx Virtual host file starts here:

Every single domain on the server blocks Apache/Nginx access to a folder named "uploads"

3
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: February 13, 2018, 07:34:10 PM »
Do you see anything suspicious in log file of clamd?

Same problem for me

4
Hi there,

I have a well running CWP on CentOS7, with Apacahe & Nginx Reverse Proxy, without Mod Security.

All websites of all domains run correctly but whenever I create a folder named "uploads" inside any ./public_html/ folder I get 404 Not Found for anything in that folder. Not even Directory Listing works.

If I rename "uploads" to "upload" everything works perfectly.

When I rename "upload" back to "uploads" if gives 404 Not Found immediately.

There are no errors in /usr/local/apache/logs/error_log or in /var/log/nginx/error.domain_name.log

Has anyone seen this type of error before?

Any advice on where to look or resolve it?

Thanks,

Ryan

5
CentOS 7 Problems / Re: WebDAV is working on Centos 7?
« on: December 03, 2017, 08:34:35 PM »
Thank you Emsanator!

Pages: [1]