文件操作 - rivatrasporti.com.ssl.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/apache/conf.d/vhosts/rivatrasporti.com.ssl.conf
编辑文件内容
<VirtualHost 5.249.157.183:443> ServerName rivatrasporti.com ServerAlias www.rivatrasporti.com ServerAdmin webmaster@rivatrasporti.com DocumentRoot /home/tecnoht/public_html/rivatrasporti--com UseCanonicalName Off ScriptAlias /cgi-bin/ /home/tecnoht/public_html/rivatrasporti--com/cgi-bin/ CustomLog /usr/local/apache/domlogs/rivatrasporti.com.bytes bytes CustomLog /usr/local/apache/domlogs/rivatrasporti.com.log combined ErrorLog /usr/local/apache/domlogs/rivatrasporti.com.error.log # Custom settings are loaded below this line (if any exist) # IncludeOptional "/usr/local/apache/conf/userdata/tecnoht/rivatrasporti.com/*.conf" SSLEngine on SSLCertificateFile /etc/pki/tls/certs/rivatrasporti.com.cert SSLCertificateKeyFile /etc/pki/tls/private/rivatrasporti.com.key SSLCertificateChainFile /etc/pki/tls/certs/rivatrasporti.com.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_userdir.c> UserDir disabled UserDir enabled tecnoht </IfModule> <IfModule mod_suexec.c> SuexecUserGroup tecnoht tecnoht </IfModule> <IfModule mod_suphp.c> suPHP_UserGroup tecnoht tecnoht suPHP_ConfigPath /home/tecnoht </IfModule> <IfModule mod_ruid2.c> RMode config RUidGid tecnoht tecnoht </IfModule> <IfModule itk.c> AssignUserID tecnoht tecnoht </IfModule> <Directory "/home/tecnoht/public_html/rivatrasporti--com"> AllowOverride All SSLRequireSSL Require all granted </Directory> <IfModule proxy_fcgi_module> <FilesMatch \.php$> SetHandler "proxy:unix:/opt/alt/php-fpm74/usr/var/sockets/tecnoht.sock|fcgi://localhost" </FilesMatch> </IfModule> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName webmail.rivatrasporti.com SSLEngine on SSLCertificateFile /etc/pki/tls/certs/rivatrasporti.com.cert SSLCertificateKeyFile /etc/pki/tls/private/rivatrasporti.com.key SSLCertificateChainFile /etc/pki/tls/certs/rivatrasporti.com.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost On ProxyVia Full ProxyPass / http://127.0.0.1:2095/ ProxyPassReverse / http://127.0.0.1:2095/ <Proxy *> AllowOverride All </Proxy> </IfModule> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName mail.rivatrasporti.com SSLEngine on SSLCertificateFile /etc/pki/tls/certs/rivatrasporti.com.cert SSLCertificateKeyFile /etc/pki/tls/private/rivatrasporti.com.key SSLCertificateChainFile /etc/pki/tls/certs/rivatrasporti.com.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> ProxyRequests Off ProxyPreserveHost On ProxyVia Full ProxyPass / http://127.0.0.1:2095/ ProxyPassReverse / http://127.0.0.1:2095/ <Proxy *> AllowOverride All </Proxy> </IfModule> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName cpanel.rivatrasporti.com SSLEngine on SSLCertificateFile /etc/pki/tls/certs/rivatrasporti.com.cert SSLCertificateKeyFile /etc/pki/tls/private/rivatrasporti.com.key SSLCertificateChainFile /etc/pki/tls/certs/rivatrasporti.com.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_proxy.c> SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyRequests Off ProxyPreserveHost On ProxyVia Full RewriteEngine on RewriteRule ^/roundcube$ /roundcube/ [R] ProxyPass /roundcube/ https://127.0.0.1:2031/roundcube/ ProxyPassReverse /roundcube https://127.0.0.1:2031/roundcube/ RewriteRule ^/pma$ /pma/ [R] ProxyPass /pma/ https://127.0.0.1:2031/pma/ ProxyPassReverse /pma https://127.0.0.1:2031/pma/ ProxyPass / https://127.0.0.1:2083/ ProxyPassReverse / https://127.0.0.1:2083/ <Proxy *> AllowOverride All </Proxy> </IfModule> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </VirtualHost>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件