Plesk - Error adding subdomain "The specified directory contains a service directory" - subdomain

I'm trying to create a subdomain and point it to etc/subdomains/home
Folder home only contains an index file.`
When I click ok I get this message: "The specified directory contains a service directory"
I tried with`etc/subdomains/home and etc/subdomains/home/index.php but I still get the error message.
What am I doing wrong?

I think etc folder is reserved for configs and other staff, not sure what the one would want web scripts in there. Try choosing any other folder like subdomain/home, htdocs/subdomain/home, subdomains/mysubdomain/home, etc.

Related

Sub pages and directories

I want to create a sub directory within my public_html for organizational purposes. I created a folder called news and I placed a file called index.html but when I visit /news/ I get a forbidden error
You don't have permission to access /news/.html on this server.
If you navigate to /new/index it brings the page up. Since it appears to be looking for news/.html I tried renaming the file .html but still had no luck.
When I check the logs this is the error I get
AH01630: client denied by server configuration

XenForo - How can I make a directory visible to visitors?

I have a XenForo board and I want to put some files on the system, for everyone to see. So I created a directory and uploaded files. When I am trying to access it though I am getting a 403 error Forbidden error in the browser. How can I fix that?
Htaccess file and check if there is an access restriction for the folder where the files are located.

an error occurred while processing this directive in justhost

when i upload my website to my hosting Justhost it not working and it show only error like this
an error occurred while processing this directive
Please help me to correct this error
try the steps that follow:
Go to cPanel
Open File Manager from Files section
Navigate to domain folder
Check "Perms" column on far right hand side
Files should be set to: 0644 (this is the UNIX file permissions)
Folders should be set to: 0755
This will change your file permissions to their proper settings for the justhost file system. Additionally, if you have PHP code within.htm or .html files, you will need to add an additional Apache handler to tell justhost to parse these files as PHP. Do this using Apache Handlers in cPanel:

mySQL installer - access to path is denied

I'm trying to install mySQL 5.7.7, but on the 'Apply Server Configuartion' page the 'writing configuration file' fails and the log gives the error as:
'Could't find path 'C:\ProgramData\MySQL\MySQL Server 5.7\my.ini'
So then I manually added the folder and got this error:
'Access to the path 'C:\ProgramData\MySQL\MySQL Server 5.7\my.ini' is denied.'
Following advice online I've given 'Everyone' full-access to mySQL plus all files in the path, but I still keep getting the same error.
Any ideas? Much appreciated, thanks
Maybe your my.ini file is not where it should be. To figure out exactly what his location is:
Open the Task Manager, go to the Services tab and then hit the Services button.
Search in the list for the service called 'MySQL56'. Right click on it, and hit Properties.
In the General tab, look for "Path to executable". After --defaults-file= you should see the exact path of the file my.ini.
If the file is in the folder you specified but you still can't access it, maybe you should try to reinstall.

URL is not showing 404 page

I have a domain domain.com
And when I type domain.com/something.html/new/one/square/new.html I am not getting a 404 error.
Where something.html is present in the account correctly.
Directory new is present in my document root.
Square is not present in my account.
By default, if part of the url points to a file, the rest of the url is treated as so-called "path info". In php you should be able to get this path info by checking $_SERVER['PATH_INFO']. If you don't want Apache to work like this, turn path info off in your main config file (httpd.conf) or in .htaccess in your root directory with the following directive.
AcceptPathInfo Off
For more information, please check the documentation for AcceptPathInfo.