Questions tagged [public-html]
141 questions
0
votes
1 answer
Displaying a URL on the address line of the URL bar
I am fairly new at this so forgive my ignorance.
I have a two word press sites that I maintain. www.example1.com and www.example2.org. The example2.org site's domain name points to https://example1.com/example2
When people reference example2.org, I…

rjapenga
- 11
- 2
0
votes
1 answer
how can i fix a broken links and blocked folder in cpanel
I have (style folder) in my public_html.
in the style folder i have:
style
-- css
---- main
---- services
---- contact
-- js
---- contact
-- images
---- contact
i a have a problem when i access to any file in the (( contact folder ))…

Hasan Hatem
- 15
- 5
0
votes
1 answer
Access to images in the public directory with Symfony 4
In two Symfony 4 instances, I get different results with the same code.
In a twig template, I have the line
In the online server, all works well: i get the image and the generated URL is…
}})

user10867087
- 51
- 4
0
votes
0 answers
Docker compose-up of copied path doesn't take port or volume
I have a problem using docker on macOs Mojave with Docker Desktop community Version 2.0.0.3.
I followed this tutorial:
https://www.cloudreach.com/en/insights/blog/containerize-this-how-to-use-php-apache-mysql-within-docker-containers/
and then did…

user3332010
- 147
- 1
- 11
0
votes
0 answers
"public_html" automatically appearing after folder name in URL and resulting in 404
I was fiddling around with the .htaccess in my web hosting directory, attempting to force HTTPS to my URLs to activate my SSL that comes with Hostgator (which did in fact work), but after changing stuff in there and whenever I try to access my page…

Vortic
- 1
- 1
0
votes
1 answer
Unable to host my new website after addon domain in Cpanel
I can't see my website after publishing it on the cpanel using file manager(public_html).
My websites Link and afroark.org

Rusimbi Patrick
- 9
- 4
0
votes
3 answers
In Cpanel under pubilc_html index.php is getting created automatically
In my CPanel under public_html (website root) index.php is overwriting any index.php file with this following code (;_;)

Admin Hack
- 67
- 2
- 4
0
votes
1 answer
How can i chdir() without writing all path
I've ran into issue where I need to use chdir function and it seems that I need to use full path for it to fully function.
Is there any way of not doing this? I would like to use simplier path like ~/ but it does not work.
$dir = "files";
…

last of us fan
- 9
- 4
0
votes
0 answers
Laravel 5 resource was not found after changing public folder name and location
I followed this thread to change public folder to 'public_html'. Pages and routes runs well but Every image,css,js,resource on page from public folder cannot be loaded.
Image, css, js can't be loaded
404 (Not Found) in console
For example, i tried…

Faisal Amirullah
- 13
- 1
- 6
0
votes
1 answer
redirect public_html folder to production folder
I have a local project on my pc, that I have uploaded in a Hosting in GoDaddy.
public_html/production/index.php
public_html/includes/conection_DB.php
In order to access my webpage I have to write in the url:
example.com/production/index.php
It…
0
votes
1 answer
how to protect the public_html folder on shared server?
I've deployed a laravel app to a shared host. All my files are sitting within the public_html folder, including an .env file which contains my database credentials. According to some articles I've read online, the public_html folder is somehow…
0
votes
1 answer
Slackware creating directory when adding new user
I'm using slackware 14.2, and i want to create directory public_html in /home/*/ when i create user. I saw there's a file useradd in /etc/default/, but i don't know, if this file should be editing.

Marcin Marcin
- 43
- 4
0
votes
1 answer
How can I see files in public_html on my Godaddy hosting?
I bought a hosting without domain name from Godaddy. I added some files in public_html directory using FTP and godaddy online file manager. I have an ip address to reach that hosting, lets name it 111.111.11.1. I should be able to see my files when…

umitkilic
- 327
- 1
- 4
- 17
0
votes
1 answer
How to successfully change " public " folder name to " public_html " in laravel 5.2
i had to ask this question here. i have seen so many other responses and none of them worked.. even after i editted the register function inside the app/providers/AppServiceProvider.php file - from a solution i got on laracasts.
public function…

Ande Caleb
- 1,163
- 1
- 14
- 35
0
votes
2 answers
how to deploy symfony on cpanel in public_html
Am trying to run symfony on the Cpanel in the public_html. But when I access app_dev.php page it shows me 500 Internal Server error. I tried all method which are available on internet. I did same thing on the localhost but it is working on the…

Muhammad Wajahat Anwar
- 1,035
- 11
- 14