Let us have access to .htaccess and Root directory of our sites

  • 2
  • Idea
  • Updated 7 years ago
  • Not Planned
Hi, it would be cool to have access to the .htaccess and the Root directory of our website. I mean there could be restrictions for what you could put in it for security reasons (if thats the reasons why we don't have access to the root yet) It would be a sweet feature! :)

Thanks,
Nathan
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
  • happy

Posted 8 years ago

  • 2
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Nathan

I have forwarded this idea to our product team. One of them will be happy to respond to your idea and let you know if this is something that will be considered or not. Thanks for your patience.
Photo of Stephanie

Stephanie

  • 67 Posts
  • 11 Reply Likes
Heya Nathan -

Your website is not a unique server, which would be necessary for what you're asking. Like a lot of other websites, Yola runs off of a bunch of different servers to distribute load, so it's unfortunately impossible to give an individual user any kind of root-level access. We'd be giving you access to a bit too much, ya know.

What would you be interested in doing with .htaccess? Maybe it's the kind of feature we could build in to Yola? Never know. :)

Thanks!

Stephanie
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi Stephanie. But how can the pages that we build go into the root directory? What I mean by the root is like this: example.com/CUSTOM But if its not possible thats fine, I understand about giving us to much access! :) But what I want to do with .htaccess is add some codes into it so I can protect the files so if someone hot links to a file on my site, it will show an image instead that says something. I got this idea from http://www.iconarchive.com/ because I copied an image url and instead of the image showing, a image appeared saying something about a hot link and it had an X and it had "Icon Archive.com" Then I went to www.htmlbasix.com and found a .htaccess generator to put in to protect files. But it has to be added in .htaccess it said. But thanks for the reply and I understand now why it wont work.

Cheers!
Photo of Stephanie

Stephanie

  • 67 Posts
  • 11 Reply Likes
Heya Nathan -

I'm not an engineer, so I can't give the "real" technical explanation, but basically, you can make a domain look like anything without literally making it a separate machine. Even though it looks like you're putting your files under yourwebsite.com/folder, it actually physically exists on something like reallyuglyurlnobodywilleversee.com/yolastuff/yourwebsite.com/folder. So there pretty much is no root.

Most sitebuilding typey places are virtual setups, since .htaccess requires you be running your own instance of apache (or at least, have a virtual setup that acts like a separate machine). The only way I know to do that is through a "real" webhost like dreamhost or laughingsquid who essentially rents you a server you can do anything you want with.

I totally understand wanting to prevent someone from hotlinking directly to your files, I need to think it through a bit more, but it does make sense as something we may want to do on a yola-wide level.

Thanks!!

Stephanie
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Oh, wow! I never knew that! So it is a website that all of the Yola sites are ran on and then they somehow set it up so it will cover up the front directories and only show the domain and then the pages? A feature that would be cool is the ability to create directories in our site. So instead of just /resources/ directory or folder, we could make another directory or folder like: example.com/FOLDER-WE-CREATE/ Do you think this would be possible that we could create our own directories?

But, I never knew that it is some VERY long URL and somehow they set it up with the domains! That is so cool!

Thanks!
Nathan
Photo of pmsgraph

pmsgraph

  • 1 Post
  • 0 Reply Likes
An important usage of .htaccess is to verify passwords - in case your website offers a paid service. Does Yola allow for this type of facility (i.e. offer it or allow a user to perform it?)
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hello pmsgraph,

Yola doesn't offer any access to .htaccess at this time (and probably never will because of technical reasons and security reasons). You could use www.authpro.com for this type of feature. It also has an option to make the user pay in order to have access to the AuthPro protected pages.

Merry Christmas!

Kind regards,
Nathan