Find Jobs
Hire Freelancers

Revive Perl Script for Linux

$10-30 USD

Zavřený
Zveřejněno před 3 měsíci

$10-30 USD

Zaplaceno při doručení
At least 10 years ago, I found a script on the web and it has worked great. I moved to a new hosting company and can't get it to work. Would anyone be able to help? On my shared hosting service in /public_html, i have an [login to view URL] file with this script below. It allows me to type a subdomain URL of my domain and it would redirect to a URL I set up in the script. Effectively a long list of shortcuts. like [login to view URL] would get the ninite chrome installer [login to view URL] would go to the youtube live feed. if I type a subdomain that didn't have a shortcut, it would take me to my website. I got it working years ago and would edit it just to deal with shortcut additions, deletions & changes. I really don't know the first thing about programming. I copied my public_html folder from the old to new host. I made sure [login to view URL] had 755 permission. The .httaccess came over also. The first line in .htaccess - #!/usr/local/bin/perl - I didn't / don't have a bin or perl folder anywhere in my directory tree on old OR new server My DNS zone has an a record for * pointing to my server's IP address, as before. When I type something like [login to view URL] now, it redirects to: [login to view URL] which is a cpanel page saying "**SORRY! If you are the owner of this website, please contact your hosting provider**" If I type [login to view URL] or [login to view URL], I get: **lscgid: execve():/home/feetsdr/public_html/[login to view URL]: No such file or directory** If you know of another way for a way to set up shortcuts or what I can do for this page, please let me know! ``` #!/usr/local/bin/perl -w $mainpage = "[login to view URL]"; %domains = ( '[login to view URL] ' => '[login to view URL] ', '[login to view URL]' => '[login to view URL] ', #the sphere las vegas '[login to view URL] ' => '[login to view URL] ' ); $server = lc($ENV{'HTTP_HOST'});if ($ENV{'HTTP_HOST'} =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/){$t='/'}else{if ($server !~ /^www./){$server = '' . $server;}}@domains = keys(%domains);foreach $domain(@domains){if ($domain eq $server){print "Location: $domains{$server}\n\n";$match="yes";last;exit}}unless($match){print "Location: [login to view URL]\n\n";exit}exit ; ``` and the .htaccess file is: ``` RewriteEngine on #RewriteEngine On #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ [login to view URL]$1 [R=301,L] RewriteCond %{SERVER_PORT} ^2082$ RewriteRule .* https://%{SERVER_NAME}\:2083%{REQUEST_URI} [R,L] # -FrontPage- AuthUserFile /home/feetsdr/public_html/_vti_pvt/[login to view URL] AuthGroupFile /home/feetsdr/public_html/_vti_pvt/[login to view URL] DirectoryIndex [login to view URL] [login to view URL] <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> ErrorDocument 404 [login to view URL] AuthName [login to view URL] IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit ``` Yeah, I was using frontpage decades ago. And haven't done much of anything else since. Feel free to tell me what else I can remove from the htaccess page. Not sure what / if anything is needed. There's loads of other shortcut entries. Just left the sphere one in as an example. THANKS!
IČ projektu: 37764392

O projektu

10 nabídky
Vzdálený projekt
Aktivní před 2 měsíci

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
10 freelanceři nabízejí v průměru $23 USD za tuto práci
Avatar uživatele
Hi there, Great to see you. I just read your job description carefully. You are looking for an expert who is well-versed and I am here. Top Skills: ➤ Wordpress framework, Laravel, Prestashop, React ➤ JS, HTML5, CSS3, SCSS, SASS ➤ MySQL, PostgreSQL, MongoDB, MS Access Why Choose Me: - Quick response 24/7 availability - Unlimited Revisions until satisfaction - Discuss your project and place it after satisfaction. - Customer Satisfaction. - Quality work Within time.
$18 USD v 3 dnech
5,0 (25 recenze)
5,1
5,1
Avatar uživatele
Hello, I saw your project " Revive Perl Script for Linux " and I'm pumped to throw my hat in the ring! Your project seems right up our alley, given our experience at Ninja Studio. We've been knee-deep in everything from Blockchain to E-commerce, and We reckon our background aligns perfectly with what you need. Whether it's whipping up some slick web solutions or diving into the depths of gaming tech, We've got the chops to make it happen. With a track record of delivering top-notch IT solutions since 2015, We are all about exceeding expectations. Your project is in good hands with Us. Let's chat and see how we can transform your IT landscape together. Hit me up and let's get this show on the road! Thank You Ninja Studio
$30 USD v 3 dnech
5,0 (6 recenze)
3,3
3,3
Avatar uživatele
Hi,davidM88. Thanks for your seeking my proposals. Do you looking an PHP&Perl expert that can fix the server issue? Please tell me your server info. Then i will fix immediately. Thanks. Best regards. From Maksym.
$30 USD v 7 dnech
5,0 (4 recenze)
3,2
3,2
Avatar uživatele
Hello, I have checked your requirements and really interested in this job. I am ready to start work immediately. I have 12+ years of experience in PHP, Laravel, Wordpress, Shopify, Magento, Opencart. I am to deliver our best service and you can check my profile and best reviews by client.
$20 USD v 1 dni
4,7 (17 recenze)
3,5
3,5
Avatar uživatele
Hello there I did read your descrtiptions I think you should check your shared host for Perl location( if perl is installed) I can help you to fix this issue if you find perl is installed
$25 USD v 1 dni
5,0 (7 recenze)
3,3
3,3
Avatar uživatele
As an experienced web designer andsting provider. With my knowledge in Perl, Linux, and understanding of cross-platform compatibility, I was able to resolve their issue successfully, making their website up and running again. In addition to my technical experiences and skill sets, my collduts hierarchy you have built over time and ensuring their seamless functionality during the migration process. All these combined with my ability to keep up with the latest web technologies and trends guarantee not only efficient work but also bringing into life an aesthetically pleasing website that perfectly aligns with your unique brand. Lastly, you don't need to worry about complexity or scale of the project. Throughout my career I have handled projects of varying sizes from small local businesses to large international firms; all receiving meticulous attention to detail. Let's work together leveraging on my three core skills: proficiency in Perl Scripting, deep web design/domain knowledge, ability to pick-up on user requirements fast and then redesign efficiently.
$11 USD v 1 dni
4,7 (8 recenze)
2,3
2,3
Avatar uživatele
Based on your project description, I understand the critical situation you're facing and the need for the utmost delicacy in handling your Perl script while preserving its fundamental logic. As an innovative developer and designer with a strong proficiency in both Perl and Linux systems, I can assure you a unique blend of technical expertise, a 20-year-old codebase understanding, and problem-solving mindset necessary to tackle this task. Drawing from my extensive experience troubleshooting and fixing legacy scripts, I've developed a profound comprehension of Perl's nuances essential for making your script operational on your new Linux host with minimal modification. Additionally, my familiarity with Linux server environments would be immensely beneficial in identifying any configurations specific to your hosting environment that might affect script execution. In a project as complex as this, communication is crucial. My good communication skills enable me to explain technical issues and solutions clearly so that you'll always be aware of the progress and status. Choose me for comprehensive solutions that blend design and development for a cohesive digital presence, keeping you ahead of the curve by embracing cutting-edge technology. Let’s transform this 20-year old script into an efficient, high-performing masterpiece together! Regards, Alley
$20 USD v 2 dnech
0,0 (0 recenze)
0,0
0,0
Avatar uživatele
Hey :) First of all thanks for the detailed information and logs, it is great to diagnose the issue. Nowadays it is not so common to find CGI scripts as there have been a source of abuse because of numerous security vulnerabilities, and it is likely that the new provider has some restrictions in place. As such, this is my proposal: - I will make a script (in PHP) that will function the same way as you've described. Being in PHP it will make it easier to move it to another hosting company should the need arise, as PHP is widely used. - There will be a file with the list of subdomains that you can edit, the list will not be in the main script, so that should avoid you syntax errors, if any, when editing the file. We'll migrate the list of redirections to that file. - The script will function as you described (it takes a list of subdomains and redirections and when a user accesses a subdomain will redirect it to the proper link). - I will provide you a repository with all the code and will help you set it up in your current hosting. We will diagnostic configuration issues if they appear. The objective is that you leave with the app working! Thanks for reading so far, and if there's anything I missed let me know! Looking forward to help you with this project! Fermín Olaiz. PS: About qualifications, I currently work for a web hosting and cloud company so I have been working with linux and web technologies for quite a few years :)
$27 USD v 4 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z UNITED STATES
warren, United States
5,0
1
Ověřená platební metoda
Členem od čvn 2, 2014

Ověření klienta

Další zakázky od tohoto klienta

Watchguard firewall configuration
$30-250 USD
Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.