文件操作 - tecnophp.ssl.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/apache-c/--tempsave/conf.d/vhosts/tecnophp.ssl.conf
编辑文件内容
<VirtualHost 5.249.157.183:443> ServerName tecnophp ServerAlias www.tecnophp ServerAdmin webmaster@tecnophp DocumentRoot /home/tecnoph/public_html UseCanonicalName Off ScriptAlias /cgi-bin/ /home/tecnoph/public_html/cgi-bin/ CustomLog /usr/local/apache/domlogs/tecnophp.bytes bytes CustomLog /usr/local/apache/domlogs/tecnophp.log combined ErrorLog /usr/local/apache/domlogs/tecnophp.error.log # Custom settings are loaded below this line (if any exist) IncludeOptional "/usr/local/apache/conf/userdata/tecnoph/tecnophp/*.conf" SSLEngine on SSLCertificateFile /etc/pki/tls/certs/tecnophp.cert SSLCertificateKeyFile /etc/pki/tls/private/tecnophp.key SSLCertificateChainFile /etc/pki/tls/certs/tecnophp.bundle SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown <IfModule mod_userdir.c> UserDir disabled UserDir enabled tecnoph </IfModule> <IfModule mod_suexec.c> SuexecUserGroup tecnoph tecnoph </IfModule> <IfModule mod_suphp.c> suPHP_UserGroup tecnoph tecnoph suPHP_ConfigPath /home/tecnoph </IfModule> <IfModule mod_ruid2.c> RMode config RUidGid tecnoph tecnoph </IfModule> <IfModule itk.c> AssignUserID tecnoph tecnoph </IfModule> <Directory "/home/tecnoph/public_html"> Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch SSLRequireSSL </Directory> </VirtualHost> <VirtualHost 5.249.157.183:443> ServerName webmail.tecnophp SSLEngine on SSLCertificateFile /etc/pki/tls/certs/tecnophp.cert SSLCertificateKeyFile /etc/pki/tls/private/tecnophp.key SSLCertificateChainFile /etc/pki/tls/certs/tecnophp.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.tecnophp SSLEngine on SSLCertificateFile /etc/pki/tls/certs/tecnophp.cert SSLCertificateKeyFile /etc/pki/tls/private/tecnophp.key SSLCertificateChainFile /etc/pki/tls/certs/tecnophp.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.tecnophp SSLEngine on SSLCertificateFile /etc/pki/tls/certs/tecnophp.cert SSLCertificateKeyFile /etc/pki/tls/private/tecnophp.key SSLCertificateChainFile /etc/pki/tls/certs/tecnophp.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>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件