Questions tagged [public-html]

141 questions
0
votes
1 answer

accessing image from public_html not possible

I am using Cyberhost.in to host a JSF application. The problem that I am facing is that whenever I am trying to access image files from public_html folder I am getting a 404 error. I have kept my war file in webapps folder. I am using c-panel, the…
Wizard Sultan
  • 830
  • 7
  • 22
  • 45
0
votes
2 answers

can I get public/index.html to work alongside another root_path?

I just implemented a new homepage using public/index.html which I read that it overrides a lot of the routes. I originally had root to: static_pages#home and in my static_pages\home.html.erb view if a user was logged in, they saw the logged in…
user2159586
  • 203
  • 5
  • 16
0
votes
2 answers

The requested URL /public_html/ was not found on this server

I'm working on a local MAMP website. I use a micro MVC framework to use friendly urls so I don't need to call index.php (which is inside of public_html directory) in the urls. To achieve that, I have the following htaccess: RewriteEngine…
Jorge
  • 259
  • 1
  • 7
  • 15
0
votes
3 answers

Joomla 2.5 site layout breaks when moved from public_html subfolder to public_html root

Title says it all. I was like, ok no probs, I'll just make the subfolder disappear with htaccess. And no, it creates the exact same effect, but I'm so new at this that I can't make out what that means. Layout breaking is like the CSS is falling…
0
votes
1 answer

php code of frames not executed in public_html

I have a php site main.php in the public_html dir, which sources several frames: My Site
StackUnderflow
  • 159
  • 1
  • 7
0
votes
1 answer

Properly Set Permission to /home/user folder for webserver

I'm currently setting up my own Linux server running CentOs 6. I already know the basic commands etc. but I don't have much experience with apache/php security although I do have a lot of experience with PHP on itself. So, to test the security on my…
John Smith
  • 965
  • 1
  • 9
  • 22
0
votes
1 answer

how to change document root to public_html from root directory

For testing I hosted my website on free server from 000webhost.com They have a directory structure:- (root folder) \ (public folder) \public_html this directory structure enables to keep all the library files in root folder and all public data in…
Manish
  • 1,946
  • 2
  • 24
  • 36
0
votes
2 answers

How can I upload a file outside public_html?

I have a folder structure like this: etc files public_html tmp I want users of my website to be able to upload files, and have those files stored inside the files folder (as opposed to storing them inside some folder within public_html). This is…
Aaron Brokmeier
  • 41
  • 1
  • 2
  • 8
0
votes
1 answer

redirect public_html folder

I have two domain name www.domain.com www.parked.com I have 3 folders inside the public_html (www) folder folder1 folder2 folder3 i want a wildcard using htaccess code to redirect the domain name to folder2 so it be like this: www.domain.com/ …
0
votes
1 answer

Accessing Subdirectory in public_html using CakePhp 2.0

my question is very simple. I have a /cms subdirectory on my /public_html directory. when I try to do: mysite.com/cms cake tries to find cms controller instead of showing the index.php that /cms contains. How can I make cake to search this folder in…
content01
  • 3,115
  • 6
  • 41
  • 61
-1
votes
1 answer

How to access public_html via FileZilla?

Our website is hosted using CPanel. When we connect over sftp via FileZilla, for some reason, we're unable to access public_html. It works with FileZilla on the mac but on the PC, if we type in the same directory, it automatically adds a backslash,…
Danny
  • 1
  • 1
  • 1
-1
votes
2 answers

include file outside from public_html

Ι want to include a file outside from public_html in php. I placed a file outside from public_html and tried to include this file, to a file that exists to public_html/myDirectory. I tried this include '../../myFile.php'; but it's not…
jeriko
  • 5
  • 4
-1
votes
1 answer

nothing is linking with html in hosting

My index.html file is in the public_html directory. All css files/ image files are in a css directory, and images directory respectively. I have been over and over my code but the index is not linking with anything in hosting. `
murpjack
  • 15
  • 5
-1
votes
1 answer

My domain name is in the public_html directory - opencart

I had my domain name transferred from Namecheap to my hosting provider, but I now have it show up in the public_html folder. How do I place it so I can have it point correctly to my opencart store?
Martin H
  • 29
  • 2
  • 3
-1
votes
1 answer

404. That’s an error. The requested URL was not found on this server in laravel at 000webhost

I upload all files and folder on 000webhost and change name public to public_html. so user can now access home page but after clicking on home page and redirecting to some other page but it is showing above error. I'm getting stuck now so can you…
Giridhari Lal
  • 163
  • 2
  • 11
1 2 3
9
10