Orchard cms is not run when change permission in root folder of Plesk hosting - permissions

I deploy orchard cms to Plesk hosting
My site is running perfectly in Plesk Hosting
I go to Home > domains > (my domain) > Virtual Directories > Directory Properties
Currently I allow Write permission and Scripts and Executables
When I Un-check "Write Permission" and "Scripts and Executables"
=> It show "This Virtual Directory does not allow contents to be listed" in Chrome and "The website declined to show this webpage" in IE9
I check "Write Permission" and "Scripts and Executables" again, website is still does not work
Please show me how to debug, Please save me!
Thank in advance!

There is a super-easy solution to this problem: do not remove write permissions. They are needed. As to why re-checking those boxes didn't restore the site, you should talk to your hosting company, that seems like a problem on their side. You may want to restart the appdomain, see if it makes a difference.
If you want finer-grained control over what requires write permissions, app_data, modules, themes and media require it.

Related

xampp apache server error 403 access forbidden on windows10

I've installed xampp in two different pc and in both of them it gives me the same error running windows10 (both with it). Apache server runs correctly, the ports are dedicated to httpd as it's supposed but when I try to access the folder of my website project to test the html files, google chrome, firefox and explorer show me a message saying: "Error 403 - access forbidden because you don't have the right permissions". I've tried everything that is in the other similar questions here and already gave permisions to all users in my folders, even to the whole drive c:. I also modified the txt files inside the folder /apache/conf/ and didn't work. I've seen that in some questions regarding the same matter, the file httpd.conf is a little bit different with parts that I can't see in mine. Thank you so much.
Finally, I solved the problem learning some more. I post it here in case someone is starting with it like me. The point is that when you install xampp, the program has a default folder where it let's you put your projects, it's called "htdocs". So that you can work only with project folders that you create inside this "htdocs" folder. If you try to create a new folder on c:/ for example, the program will not let you access beacuase of security (everybody could access all the folders on your computer, entering your server). I hope this to be of some help for someone else. Thank you, and sorry for the newbie question.

Prevent content (files) upload to cpanel

I am new to Management System. Now I need to control a website. Some days ago, someone hack it — not SQL injection, just file change / new files upload.
I need to know the how can I prevent it; I want to learn.
Please, can someone give me some suggestions?
To prevent this, You need to update your server security with the mod_security, Mod_security is web server firewall so you will have to install and upadte mod_sec rules on your server to prevent this,
Also, Update your site scripts and plugin and themes which you are using for your site.
Use strong password for your cPanel, FTP and site admin panel
Also, Check WHM >> Security Center >> Security Advisor and fix all the Warning which you will get in that scan report.
Install maldet on your server and scan your all user home directory and remove infected files from your account.

How to move server project to my localhost?

What I'm asking is not how to move localhost to remote server.
I'm new to server so I don't know how to move project I have to open? launch? at my localhost.
I try to develop Magento at localhost and develop and test Magento service at my own laptop localhost.
But I'm in troubling moving my project cloned using GitHub to my localhost.
Install wamp, start it's services.
clicking the wamp icon in your system tray will allow you to access 'phpmyadmin'- use the databases tab to create a new db (for development at home I typically leave the db user and password as 'root').
Inside wamp's install directory is the 'www' folder. create a subdirectory within it, download magento and extract it into your newly created subdirectory.
If you unzipped your magento files to c:/wamp/www/myproject then point your browser at 127.0.0.1/myproject and you should see the magento installation page. Follow it through until you finish installing.
Now when you go to 127.0.0.1 you should see the front page of a fresh magento install. appending the url with /admin will let you log into the back end. Do this, and then navigate to system -> cache management and disable all the caches.
You can now copy across any work you've already done on the project into your relevant magento folders (presumably /app and /skin)

"Undefined" labels and buttons in the UI of SuiteCRM

A fresh installation, installed via an installer (Softaculous, to save time.)
Data seems to be correctly connected and all in the correct places. But most error messages only contain the word "undefined."
I have a feeling it's a permission problem, but the various solutions for it on forums are varied and only seem to work for a small section of people for each.
I'd rather not do a reinstall as all the old data from previous CRM is now imported.
This is running through a cPanel controlled server BTW, if that helps matters.
Yes, It's permission issues. Please update write permission for the web server user and try to delete " cache/jsLanguage/en_us.js " folder from your account.
If a Suite or Sugar install is installed on a temporary I.P whilst using cPanel, at least in our version of cPanel, it hosts the files in a temporary test folder.
Suite (specifically SugarBean.php) tries to access the folders that would exist on permanent domains. So it calls files that are hosted elsewhere on the server.
Soon as the site was pointed to a real domain, it fixed itself, no extra steps necessary, as the files were hosted in the correct place.
Thanks to the hosting company, they explained that to me. I'm not sure if that's standard procedure to store the files differently for temporary i.p addresses.
make sure you are using correct .htaccess
Go to Admin > Repair and do a "Quick Repair & Rebuild". Execute any changes shown at the bottom of the page.
If that doesn't work, go to Admin > Repair and do "Rebuild .htaccess file" and afterwards, Admin > Repair and do a "Quick Repair & Rebuild" again.

Migration to VPS w/Plesk

I had a shared hosting package with 1and1 and I just moved over to their VPS hosting that uses Plesk. I already had the domains moved over the VPS server and I already uploaded all of the files via FTP.
I talked to an agent yesterday and he helped me setup the main page on the website so that it would go to the appropriate root directory. The main website is working properly whenever I go the main domain name, however, whenever I go to website.com/blank or website.com/stuff, I receive a 404 error.
The strange part is that I see the files in Plesk file manager, I just don't know why they are not displaying properly. I didn't change anything in the migration process.
I did not change the code on any of the pages and I have contacted their customer support team a number of times, but they have been unable to resolve the issue.
Can anyone tell me what I should do to make sure that the files are associated with the correct pages?
Have you checked the permission for the files and folder under your domain, this seems to be an issue with either your ownership or permission of the files. And if thats not the problem it could even be your .htaccess file.. make sure you have transferred your .htaccess file as well from old shared hosting to new VPS.