Find Jobs
Hire Freelancers

System Admin - Apache CentOS 7 Cpanel to CWP7 Conversion -Need perl script to run under server wide directory with suexec recompiled/configured

$10-30 USD

Closed
Posted almost 3 years ago

$10-30 USD

Paid on delivery
PROJECT REQUIREMENTS To reconfigure / recompile of necessary Apach 2.4 to work in the CWP7 control panel environment to behave the same as our current production server in Cpanel. Must be able to have Server wide scripts work from a Server Wide Directory, while maintaining the User writing permission the same as the Cpanel Server. Cpanel uses EasyApache4 to compile the apache with the correct modules through a user interface. CWP7 running on Centos does not have this ability. I imagine it will be possible to create a matching configuration of the build to have the behaviors perform the same way. 1. Current apache has ability to list files with the ~account usage ie; [login to view URL]~felixhob/felixhobbyshop/images/ [login to view URL]~netstore/musicstore/images/ This has been accomplished by adding the cpanel configuration to: ## as a test for configuration matching CPanel by Adam 7/17 ## This works exactly the same now as Cpanel # Required cPanel security policy: disable userdir when mod_ruid2 or mpm_itk or mod_passenger are loaded <IfModule userdir_module> UserDir public_html <IfModule ruid2_module> UserDir disabled </IfModule> <IfModule mpm_itk.c> UserDir disabled </IfModule> <IfModule mod_passenger.c> UserDir disabled </IfModule> </IfModule> And 2. Be able to run a system wide script under there Virtual Host User Id in a Hidden Server Wide Directory. See working Cpanel script output from call to [login to view URL] [login to view URL] Currently on the new CWP server with suexec the perl script breaks: [login to view URL] /usr/local/apache/netstores/dwos-bin from /usr/local/cpanel/cgi-sys/netstores/data ie: ls -tal drwxr-xr-x 7 pos2net pos2net 4096 Jul 15 01:30 maudeboutique drwxr-xr-x 8 felixhob felixhob 4096 Jul 15 01:29 felixhobbyshop drwxr-xr-x 7 netstest netstest 4096 Jul 15 01:29 GrandBazar notice each data directory has its unique user id ownership. The current scripts run under a renamed script bin /usr/local/cpanel/cgi-sys/netstores/dwos-bin -r-xr-xr-x 1 root wheel 10337 Jul 13 08:00 [login to view URL] so under directory that is hidden from users /var/www/NetStores Where each subdirectory is the entire Perl Application running System wide and the 2 scripting directorys /usr/local/cpanel/cgi-sys/netstores/dwos-bin /usr/local/cpanel/cgi-sys/netstores/dwos-bin_test Can be run under diferrent virtual hosts ids. Currently under Cpanel Apache they user is root group wheel 3. Will not destroy CWP7 create new account, Add Server DNS/Apache configuration system. Also if the apache needs to recompiled complete directions for me to administer in future. Could be new Virtual Host template structure Problem Server Wide Script Locations not Working They can only work in a scripting directory under their own user id due to suexec configuration and suexec binary. We have been using apache2 on Centos and cpanel for over 10 years. On cpanel Centos Servers, there are system wide scripts located in /usr/local/cpanel/cgi-sys/ We are able to place a directory of scripts and data in those directories, and run them system wide on any virtual host in the server using apache2. Inside the cgi-sys directory are cgi scripts for cpanel that do redirections. We are able to put our script aliases in those directories, and call them with a script alias in httpd.conf. ie: ScriptAlias /dwos-bin/ /usr/local/cpanel/cgi-sys/netstores/dwos-bin
Project ID: 30895398

About the project

4 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $74 USD for this job
User Avatar
Hi How are you! I am system admin. I will check the issue of the server and resolve the issues of server end as per your requirement. I have expertise in the relevant field of server management. I have 14 years of experience. Ping me for further queries. Thanks
$40 USD in 1 day
5.0 (326 reviews)
6.9
6.9
User Avatar
Hello there, I can fix your apache module behaviour and put working your perl scripts very quick and totally painless. Please check my reviews about my past tasks on the site to verify the quality of the jobs done. :-) About me: My nameis Guillermo and I work in a well known Argentine hosting company and im in charge for a platform that host more than 40k of websites and its services so i handle this kinkd of issues daily. Just send me a message to talk further, i will available to work as soon you contact me. Thanks!
$55 USD in 3 days
5.0 (17 reviews)
4.0
4.0

About the client

Flag of THAILAND
Eugene, Thailand
0.0
0
Payment method verified
Member since Jul 20, 2021

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.