Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need some change in ehcp
#1
Hi,

i think you all which installed ehcp need change something in your ehcp dir at /var/www/vhosts/ehcp
for example you can easily access apachehcp.conf at:
http://yourserverip/vhosts/ehcp/apachehcp.conf
i think it is better to have .htaccesss to prevent such file during the installation. i see that it is not such problem at www.ehcp.net server Wink
please put your .htaccess so we can use it


Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Reply
#2
here is .htaccess:
<code>
Allow from all
&lt;Files ~ "\.(conf|cert|cnf|key|py|sh|sql|txt)$">
Deny from all
&lt;/Files>
&lt;Files ~ "^(config\.php|^install.*\.php|apache_subdomain_template|authmysqlrc|dnszonetemplate|cronbackup\.php)$|^apachetemplate">
Deny from all
&lt;/Files>
</code>


This file is already included with newer versions of ehcp, 0.29.09, 0.29.10 and later.. (I dont remember it started on which one.. )

so, new people are already protected about some sensitive data..
new versions are being tested and available for download at:
0.29.10: www.ehcp.net/ehcp_yeni.tgz
newer: www.ehcp.net/ehcp_test.tgz



Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Reply
#3
<li>yes, I think, everything will be ok... if not, that means we found another bug..
<li>for upgrade follow: http://www.ehcp.net/?q=node/529
<li>i will check the backup feature, did not do yet...
<li>if your .htaccess does not work, then do: * does your default apache config has (AccessFileName .htaccess) ? * is .htaccess readable by apache user, or www-data, * most probably, an apache config is broken, consult an apache documentation, or * just reinstall things..

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
hi,

now if i download the lastest version and install it, everything will be clear right?
how to upgrade the 0.29.9 my current version to 0.29.10 the latest version as i told the backup doesnt work in 0.29.09 and just backup files not dbs.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#5
i copied .htaccess in /var/www/vhosts/ehcp with the content:
Allow from all
<Files ~ "\.(conf|cert|cnf|key|py|sh|sql|txt)$">
Deny from all
</Files>
<Files ~ "^(config\.php|^install.*\.php|apache_subdomain_template|authmysqlrc|dnszonetemplate|cronbackup\.php)$|^apachetemplate">
Deny from all

but it doesnt work i still can see apachehcp.conf
http://youipaddress/vhosts/ehcp/apachehcp.conf




Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping