Questions tagged [public-html]
141 questions
0
votes
1 answer
Laravel 7, how to avoid image upload to app/public/ but instead public_html directory
I am trying to upload the image to ./../public_html directory in laravel 7. However, the image always goes to lsapp/app/public/ directory.
In my Controller,
$storagePath = $request->donation_poster->storeAs('public/donation-poster',…

Stephen Sim
- 11
- 1
0
votes
0 answers
public_html permission error for htaccess
i'm seeing following error continuously in the cPanels error log:
[core:crit] [pid 36081] (13)Permission denied: [client 66.240.192.138:59520] AH00529: /home//public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is…

Nishu Ali
- 13
- 6
0
votes
0 answers
PHP SSH2 Connection, ssh2_exec does not seem to support Executing dirname(__DIR__) or $_SERVER['DOCUMENT_ROOT'] on Remote Server
I been trying for hours to get the name of the public folder on a remote server using an ssh2 connection.
On some servers the public directory is "public_html" but others may be "htdocs".
I don't want to hard code the name in my code, much better to…

Jim Dandy BOA
- 533
- 7
- 13
0
votes
1 answer
Laravel8 storage link won't work on production
I have problems with the storage link in Laravel8, everything was working correctly until I moved the project from localhost to hosting, it works with public_html and I have it structured as…

Alex Toledo
- 3
- 1
0
votes
1 answer
how to manage routing of 2 different angular apps in the same public_html folder
i have 2 angular apps on the same directory (public_html)
one is the main app which has its own routes.
and the second is folder inside the main app which also have routes.
i have a problem when i want to navigate to a route in the seconds app and…

Or Shalmayev
- 295
- 1
- 12
0
votes
1 answer
Accidently deleted files in cPanel home directory
I just wanted to delete the files under the public_html folder. But accidentally I deleted all the files under the home directory, like- etc, logs, mail, public_html, public_ftp, ssl, tmp, www. I have no backup. Now, I just created the public_html…
0
votes
1 answer
Laravel 8 project deploy to shared hosting - security issues and public_html folder
I was able to deploy my laravel 8 application as and addon domain on inmotion shared hosting based on the following article
https://medium.com/backenders-club/how-to-host-a-laravel-project-on-a-shared-hosting-via-cpanel-d955d32c528e
However, there…

Dwayne Aquan
- 1
- 3
0
votes
0 answers
Find real index file in public directory in live server. main index encrypted
In my Public_html directory. there is an index file which code showing like the following screenshot:
I want to edit my menu. How can I get my main HTML file.. and what is this actually?
I can browse my domain easily. There is not any problem but I…
0
votes
1 answer
How do you disable a parent directory but not a child sub directory in /public_html
My basic problem is I am using node.js server in a vps apache server.
So in my .htaccess file in the /public_html directory
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$…

nlstm
- 75
- 5
0
votes
1 answer
How to link directory to public_html?
I have ~/public_html and few subdirectories with sites inside. But I have also ~/projects with all my projects (not only websites). I'm trying to link ~/projects/X with ~/public_html/X.
ln -s ~/projects/X ~/public_html/X
But I have error 403,…

ciembor
- 7,189
- 13
- 59
- 100
0
votes
1 answer
Load Server Side in iFrame instead of URL
Is it possible iframe a source file from the server instead of a URL meaning instead of
---> Instead of
0
votes
0 answers
Strict Standards: Declaration of item issue
I have been migrating an old site over from ispmanager to cpanel. I have gotten most things up but am running into this error line at the top of the page.
Strict Standards: Declaration of item::put() should be compatible with table::put($page = 0)…

phfeiler
- 1
- 1
0
votes
2 answers
Move a Drupal Site to a New Folder or Public_Html
I have recently installed Drupal8 on my hosting via automatic installation and the system installed Drupal under a subdirectory (e.g. www.example.org/drupal8) but I wanted to move drupal directly under public_html and visualize it directly on my…

ayan
- 37
- 4
0
votes
1 answer
How do I deploy two Laravel 7 project into shared hosting at hostGator?
I tried many strategies to deploy two Laravel apps in shared hosting. What I have done so far is
created a folder inside public_html folder (vocalpublic) and put all the Laravel public folder files in there.
All the other Laravel project files…

asela daskon
- 496
- 1
- 8
- 21
0
votes
0 answers
Set apache&nginx reverse proxy to show website from other user public_html
I've installed Centos Panel and apache2&nginx&varnish with reverse proxy. I can see that default website when i got to server ip X.X.X.X is from /usr/local/apache/htdocs. When I created a new user I see automatically created vhosts and public_html…

mebway_p
- 1