collapse

Author Topic: How to change root directory  (Read 717 times)

Offline Zaki

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
How to change root directory
« on: June 06, 2021, 05:48:26 AM »
Hi,

I'm working on a php application that requires me to change my root directory from :
Code: [Select]
/home/something/public_htmlTo
Code: [Select]
/home/something/public_html/public
For serious security reasons I can't use
Code: [Select]
.htaccess redirections it won't work in my case.
Any suggestions :).

Online SE-JAY

  • Administrator
  • Hero Member
  • *****
  • Posts: 1319
  • Karma: +42/-1
Re: How to change root directory
« Reply #1 on: June 07, 2021, 03:45:26 PM »
Hi there,
Sorry for the delayed response.

This is currently not supported within the free hosting lineup. Your best bet would be to create a sub domain and change document root there and install your software there :)
Join Our Awesome Affiliates Program! Click Here For More info

Offline Zaki

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: How to change root directory
« Reply #2 on: June 08, 2021, 06:46:38 AM »
Thank you SE-JAY what a claver idea :o, I don't know why I didn't think of that :)

Online SE-JAY

  • Administrator
  • Hero Member
  • *****
  • Posts: 1319
  • Karma: +42/-1
Re: How to change root directory
« Reply #3 on: June 09, 2021, 10:18:41 AM »
I try my best to find loopholes haha
Join Our Awesome Affiliates Program! Click Here For More info

 

Please disable Adblock

This is a free hosting service, where we rely on advertisement views, in order to generate revenue and pay server expenses. Please white list our website, if you would like to use this forum and/or our free hosting service.
We appreciate your support. Thank you.

Advertisement

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Recent Posts

Re: I can't disable 2fa by SE-JAY
[June 20, 2021, 08:53:41 PM]


I can't disable 2fa by Rimaxx
[June 20, 2021, 07:02:24 PM]


Re: Unable to login to DirectAdmin by SE-JAY
[June 13, 2021, 05:24:12 PM]


Re: Unable to login to DirectAdmin by notthatjay
[June 13, 2021, 02:50:05 PM]


Re: Unable to login to DirectAdmin by SE-JAY
[June 13, 2021, 02:37:57 PM]