Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,922
» Latest member: Netragek
» Forum threads: 1,052
» Forum posts: 1,195

Full Statistics

Latest Threads
5 sulfosalicylic acid dih...
Forum: Ehcp General, uncategorized yet
Last Post: Lavillsauro
11-15-2025, 05:40 PM
» Replies: 0
» Views: 26
Hi, I would like to ask f...
Forum: Ubuntu Topics
Last Post: Juliaseema
11-10-2025, 01:35 PM
» Replies: 0
» Views: 0
Hello, I need a recommend...
Forum: General Linux
Last Post: Juliaseema
11-10-2025, 01:34 PM
» Replies: 0
» Views: 0
Hello, I need a recommend...
Forum: Ehcp for Developers and Programmers/Designers
Last Post: Juliaseema
11-10-2025, 01:33 PM
» Replies: 0
» Views: 0
Hello, I need a recommend...
Forum: Ehcp Problems - After Installation
Last Post: Juliaseema
11-10-2025, 01:31 PM
» Replies: 0
» Views: 0
Hello, I need a recommend...
Forum: Ehcp Development
Last Post: Juliaseema
11-10-2025, 01:30 PM
» Replies: 0
» Views: 0
Hello! Can you advise me?
Forum: Ehcp General, uncategorized yet
Last Post: Juliaseema
11-10-2025, 01:29 PM
» Replies: 0
» Views: 113
Email DKIM
Forum: Ehcp HowTos
Last Post: Lavillsauro
11-08-2025, 03:24 PM
» Replies: 3
» Views: 16
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: Lavillsauro
11-08-2025, 03:23 PM
» Replies: 71
» Views: 89,894
run ehcp on rasperry pi
Forum: Ehcp HowTos
Last Post: Lavillsauro
11-02-2025, 10:18 AM
» Replies: 3
» Views: 19

 
  How do i modify the EHCP Login Box ?
Posted by: carl97 - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (3)

I have looked everywhere and can't come up with a solution
Therefore i submit it here....

I am trying to customise the EHCP login
Nothing inside Just the Blue and Orange Landing page and the Brown Login Page there after. I managed all but to get rid of the Stats on the bottom of the Login Form. Please could someone help me as to what i need to change and what file ?

Basically i want to have a simple Username and Password The options to signup, lost password option and possibly a Smarty or Security Image or something better.

I want to remove this as i is a bulls eye to a hacker if they see i am hosting thousands of domains.
Thanks ;-)

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

Print this item

  use sftp instead of ftp?
Posted by: jason0 - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (1)

Hello,

I see (roughly) how the pam configuration is altered so that vsftpd uses user account data from mysql. I would like to use sftp which is ssh based. Does anyone have any recommended pam modifications for ssh to allow mysql-based accounts in addition to the system logins?

--jason


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

Print this item

  release soon?
Posted by: jason0 - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (3)

Hello,

I have been testing the latest ehcp on a trial deployment in ubuntu 12.04 lts. I have also noticed that certain functions work better such as the active/passive domain switch in the latest version.

Will there be an official release soon?

--jason

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

Print this item

  Billing Module
Posted by: thyraven - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (2)

I know there is a thread on the forums already about a billing / account management system for EHCP but I want to revive it.

I was able to get in contact with Travis, he was building Dime. He was able to grab some of the orignal code and post it on github so we can continue on with the module.

Now I am not that good with PHP yet, still learning. So I am posting this in a effort to get some help with the module so we can get a billing / account management module built into EHCP so we don't need to rely on other software that costs an arm and a leg to run without any built in support for EHCP.

Here is the link to the repository to the files for Dime - https://github.com/plowdawg/Dime

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

Print this item

  runop operations
Posted by: jason0 - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (2)

Hello,

I am digging through classapp.php, and seeing all of the function references in runop() and runop2(). I realize the ops are called from the gui, but I wonder: is there some sort of text or diagram showing what these functions are actually for, and why they would be called?

--jason

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

Print this item

  problem in apatche2 after Subdomain
Posted by: siteplanet - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (2)

Hello


I have one big proble

I add one sub domain in my panel and when i

do restart my dedicate machine apache2 can t start the error messege into ssh is:

root@Ubuntu-1104-natty-64-minimal:~# /etc/init.d/apache2 start
* Starting web server apache2 apache2: Syntax error on line 232 of /etc/apache2/apache2.conf: Syntax error on line 29 of /var/www/new/ehcp/apachehcp_subdomains.conf: Could not open configuration file /etc/apache2/fastcgi_params;: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
[fail]


what can i do?

thank you for your time.



Restored from old drupal forum, for user uid:3988 usernameConfusediteplanet
You may reset your password to access your new account here.

Print this item

  Web directory file permissions seem insecure by default? maybe...
Posted by: ingram - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (7)

I'm just going off what I know here, so maybe some of you guys can correct me if I'm wrong.

Using EHCP, all files that are uploaded through ftp have an owner of "vsftpd" and a group of "nogroup".

When thinking in terms of Owner-Group-Other, this leaves the "www-data" user in the Other group. As far as I know, it's basically ok to let the "Other" group have read access to everything in a web root folder. However, I didn't think it was ok to give the "Other" group write permissions on anything. If you are using some time of php or other dynamic web application, this is what you will likely have to do. In my case, I am using Drupal.

Drupal requires certain directories to have write access from the user "www-data", but since the "www-data" user is in the other group, so does "Other", which could be who knows what on a production system.

This seems like an insecure setup to me. It would seem more reasonable if the group were set to "www-data" by default. If that were so, you could have permissions like this:

Owner - vsftpd - write on select folders - always read access
Group - www-data - write on select folders - always read access
Other - 000

But again, I'm not a security expert, this is just the way I thought it should be setup. So if there are any people that know more about permissions than me, feel free to let me know where I'm wrong at.

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

Print this item

  File upload script not working
Posted by: ehcpuser - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (7)

I've created a file upload script, and it doesn't seem to be working. Here's my code. I'm wondering if there's something that has to do with ehcp. I asked a couple of php guys and they don't know so it might be php settings. I saw something when I searched, but I still don't understand it. Here's the code.

<?php
require('header.php');
require('links.php');

$name = mysql_real_escape_string($_POST['file']);
$url = mysql_real_escape_string($_POST['file']);

$filename = $_FILES['file']['name'];
$temp = $_FILES['file']['tmp_name'];
$error = $_FILES['file']['error'];

$sql = "insert into books set name='$name', url='$url'";

if(isset($_POST['submit'])) {
if($error > 0) {
die("Error uploading file! Code $error.");
}else{
move_uploaded_file($temp,"/center/resources/books/".$filename);
mysql_query($sql);
}
}
?>

<form method='post' enctype='multipart/form-data'>
Book Name<input type="text" name="name"></br>
File<input type="file" name="file"></br>
<input type="submit" name="submit" value="Upload">
</form>


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

Print this item

  vBulletin-Pro
Posted by: Mc LivX - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (1)

vBulletin
<!--break-->


Restored from old drupal forum, for user uid:3258 username:Mc LivX
You may reset your password to access your new account here.

Print this item

  Template System - How does it work?
Posted by: foxtrot - 04-14-2023, 10:11 PM - Forum: Ehcp for Developers and Programmers/Designers - Replies (4)

Ok, I have been tasked with redesigning a template for EHCP and having trouble getting my head around it.

My questions are:

1. The main pages, such as index.php?op=listselectdomain, op=serverstatus, op=listbackups etc where are they kept, how can I change the layout for these pages?

2. I can see certain template variables throughout, such as <div class="info"><b> {dynamicinfo}</b></div>, is there a list of all the variables? and how can I change the information and style that is displayed for the variables?

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

Print this item


Vidinli.net Shopping Platform
Vidinli.net Shopping Platform
Vidinli.net Shopping Platform