Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - charlton

Pages: [1]
1
FTP / Re: Nothing shows when i visit my url after uploading files
« on: August 04, 2017, 07:50:33 PM »
did you click "fix permissions" under user accounts?

2
any time you make a change in apache config file you need to restart apache. sometimes you need to clear your browser cache to see the changes in vhost changes.

3
CentOS-WebPanel Bugs / Re: Wordpress and Permissions
« on: August 02, 2017, 07:12:51 AM »
which account are you using to FTP the files in? are you using root?

It sounds like you need to create the ftp accounts to ftp the files in the home public folders. CWP Dashboard - File Management - FTP Manager V2.

Instead of chowning the files manually, you can click CWP Dashboard - User Accounts - Fix permissions.

4
CentOS-WebPanel Bugs / Re: VHosts not working after adding domain
« on: August 02, 2017, 07:06:29 AM »
Using all default settings, I created a user and of course put the main domain there and then created subdomain. All I get is the default Cent OS page.

I'm replying to this post, because this post is the 3rd search result for vhosts on the entire forum.

Like swg1cor14, this is a fairly new installation without much changed on it. I created a user and then created a folder /home/username/public_html/newfolder

Browsing to sub.domain.com/newfolder I could view the files in ../public_html/newfolder.

I tried editing the vhosts to point the DocumentRoot from
Code: [Select]
="/home/username/public_html"to
Code: [Select]
="/home/username/public_html/newfolder"
and then restarted apache after the change. I would browse to sub.domain.com and still see the CWP CentOS welcome page. I scratched my head for a long time.

The resolution ended up being clearing the cache. You can test this on chrome by pressing F12 - Select Network - and then check the box "Disable Cache" and reload the page and it worked. Yay!  ;D

Turning off cache and it continued to work. Hope this helps someone!

Pages: [1]