Find Jobs
Hire Freelancers

Linux or SSH script to create/modify .htacess files inside WHM server`s sites

$10-30 USD

Completed
Posted over 3 years ago

$10-30 USD

Paid on delivery
I need to create a script that should read all the sites inside "home" folder of a server with WHM and: 1) if there is not a .htaccess file inside public_html it should create ir with this code: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> 2) if the .htaccess exists ir should add this code at the top Thanks, Francisco
Project ID: 27628424

About the project

9 proposals
Remote project
Active 4 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
Awarded to:
User Avatar
I can do it. I'm expert with writing bash scripts for Linux systems. My one of the last finished script/project - https://www.freelancer.com/projects/asterisk-pbx/Creat-bash-script-for-cronetab/reviews I ready to discuss of your task.
$20 USD in 1 day
5.0 (19 reviews)
3.8
3.8
9 freelancers are bidding on average $24 USD for this job
User Avatar
HI, I can do this in few hours. Few questions - what will be the path of home directory? Should we check if this block exists in .htaccess file before updating the file. Thanks
$30 USD in 1 day
5.0 (66 reviews)
5.6
5.6
User Avatar
Hello there, I have the required bash shell script knowledge to deliver you the work. Let me know if you are interested. Thanks!
$20 USD in 7 days
5.0 (52 reviews)
4.9
4.9
User Avatar
Hi, I am experienced in .htaccess and shell script. I can do this for you as per project requirment Thanks Ashish A.
$30 USD in 1 day
4.6 (34 reviews)
5.2
5.2
User Avatar
Hi there, I have good experience in shell and bash scripting. I can provide you the expected results quickly. Message me and lets finish this up quickly. Thanks
$30 USD in 1 day
5.0 (10 reviews)
3.3
3.3
User Avatar
Hi, I have experience in Linux system admin and aws services. I can help setup htaccess for apply all website. Please discuss to start. Thank you
$25 USD in 1 day
5.0 (5 reviews)
2.8
2.8
User Avatar
Has a working knowledge on writing shell scripts as been working on the same from the past 4years .
$20 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am affected my job because of corona lockdown. That's why I am hare. If you give this project, It will help me and my family (I can able to do this task with 100% confident). Please Help me to give this task. I have 3 years experience in linux and system admin. about task:- this script using SSH or FTP credential to connectthe server and add .htaccess file with that block if not. If file exit and if that block not exit, add the block on top.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ARGENTINA
Buenos Aires, Argentina
4.9
15
Payment method verified
Member since Jan 3, 2009

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.