Correct Permissions To Use

Aug 27, 2009

I am in the process of setting up my server and have come to the stage where I am uploading my actual website scripts and files. I am a little confused however as to what permissions and file/directory ownership my website files should be set to.

My web root is set to 755 (rwx/r-x/r-x) with Owner as root, and Group as root. All files within the web root are set to 744 (rwx/r--/r--) with the owner and group the same as the web root. The permissions set allow php scripts to function but I am not sure if the group should be set to root on all these files, is this correct?

My site users have no ftp access if that makes any difference to ownership.

View 4 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: Scheduled Tasks - Correct Permissions

Jun 2, 2014

I have the following command to execute every 5 minutes this PHP file which is working correctly:

/usr/bin/wget -qq -O /dev/null http://url.com/script.php

How can I make it so only the system (scheduled task or the server itself) can access to the file to execute it. I tried placing CHMOD 700 to the PHP file but everyone is still able to access to it and executive it.

Plesk version: 11.5.30 Update #44

View 2 Replies View Related

APF Correct

Jan 31, 2007

i install APF and RUN to Server i don`t know my APF is Coorect or no!

root@server [/]# apf -t
APF Status Log:
Feb 01 01:57:54 server apf(11506): firewall initalized
Feb 01 01:57:54 server apf(11565): {glob} default (ingress) input drop
Feb 01 01:57:54 server apf(11565): {glob} default (egress) output drop

what is meaning >> firewall initalized << ?

View 2 Replies View Related

VPS With 20 IP's And Correct PTR Records

Nov 7, 2009

DigBuddy is an email deliverability and MX monitoring service. Customers sign up and input all of the email addresses at their domain and our monitoring system will check to make sure that these email addresses are able to receive email by logging in and attempting to send an email without actually sending one. It also checks the DNS, SPF records and a bunch of other stuff so our clients can be assured that they are able to send and receive email to a variety of networks without issue.

We need to set up monitoring servers on a number of networks across a number of countries that can be used to send and receive email. Basically all we need is a VPS with 512mb of ram and 19 IP's. It also must have an unblocked SMTP port 25 and the IP's must have a neutral or better senderbase score. We also need to make sure that the IP's have proper forward and reverse DNS entries.

View 4 Replies View Related

How Can I Correct This Error

Aug 30, 2007

I got this error from dns report.
FAIL

Open DNS servers

ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:

Server 71.74.*.* reports that it will do recursive lookups. [test] Server 71.74.*.* reports that it will do recursive lookups. [test] See this page for info on closing open DNS servers.
---------------------------

View 14 Replies View Related

Choose Correct Chasis

Jul 2, 2009

I will get a new server with dual E5520 and 4 SAS 15K rpm (raid10) + 12GB RAM. Will they be hot in 1U chasis? I am only using Supermicro

View 9 Replies View Related

How To Check If You've Really Given The Correct Guaranteed RAM

Mar 4, 2009

let's say the package was 512mb ram guaranteed and burstable, how would I check if I was given the correct guaranteed RAM?

i have this 2 vps with the ff 1GB/2GB burst and 512mb/2gb burst

I'm asking because in HyperVM, I can see the max ram for the 2 packages as 2GB. how to check the guaranteed ram?

Also both of these are quad core but the other is showing 2.7Ghz per cpu while the other it's 0.5GHz.

View 3 Replies View Related

Correct Way To Clear Swap

May 19, 2009

I've never needed or used swap, but I justed noticed i have 523k of it, which i'm guessing happened when I restored a big CPanel account.

Anyway, is their a correct way to restore it? I've got the memory space, and I've vm.swappiness set to 0.

View 5 Replies View Related

MX/A DNS Records Not Working Correct..

May 16, 2008

I use WHM/cPanel. Heres what i get from a dns report

MXDNS:

PassMX records for domain sphexa.comYour 1 MX records are:

0 sphexa.com ip=66.197.145.5
FailedMailserver connection test
HELO, MAIL FROM, RCPT TO, QUITConnect to mailserver sphexa.com FAILED (could be greylisting)

PassPublic IPs testMX records are public IPs conform RFC 1918
FailedMailserver greetingThe server should have an A record which points to the mailserver for the hostname
which is presented in the greeting

sphexa.com

PassOpen relay test for sphexa.comsphexa.com FAILED (VERY GOOD)

InfoReverse DNS entries for MX records5.145.197.66.in-addr.arpa -> music.bandlabel.com.

View 1 Replies View Related

Correct Folder Permission?

May 2, 2007

what folder permissions should be set to so that:

php scripts can read/write/delete files and browsers can see them.

Would it be 744?

View 6 Replies View Related

Correct Way To Change A Site's Domain Name

Mar 11, 2009

I'm working on a young site that will be changing its focus and its domain name to reflect the new focus. What is the correct way to change the domain name? In the past, I've simply created a new site in WHM/cPanel under the new domain name and copied the old site (and database) over, which was a great deal of work. Is there another way to do it that is less time consuming - without having to copy files? Are you not able to just change the domain name setting in WHM without having to copy the entire site over to a new directory on the server?

View 5 Replies View Related

Correct Way To Kill Root Account

May 21, 2009

whats the correct way to stop using root and setup a su account?

View 10 Replies View Related

Correct 301 Moved Permanently Code

May 6, 2009

I am trying to push my server to return Moved Permanently code and redirect these URLs to the main URL, but cant find the right code.

domain.com
w.domain.com
ww.domain.com
wwww.domain.com
to
www.domain.com

There are a number of codes available on the net and all supposed to do that, but which one is the eight one?

1)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewritecond %{http_host} ^w.domain.com [nc]
rewritecond %{http_host} ^ww.domain.com [nc]
rewritecond %{http_host} ^wwww.domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

2)
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com
RewriteCond %{HTTP_HOST} ^w.example.com
RewriteCond %{HTTP_HOST} ^ww.example.com
RewriteCond %{HTTP_HOST} ^wwww.example.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]

3)
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^w.domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^ww.domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^wwww.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

View 14 Replies View Related

Apache :: 2.4.3 Not Generating Correct URLs?

Aug 22, 2013

We're running Apache 2.4.3 on Slackware 14:

LCMlinux ~> uname -a
Linux LCMlinux 3.2.29-smp #2 SMP Mon Sep 17 13:16:43 CDT 2012 i686
LCMlinux ~> httpd -v
Server version: Apache/2.4.3 (Unix)
Server built: Aug 23 2012 11:07:26
LCMlinux ~>

We are using this both for the Trac issue-tracking application and for a small, simple internal mirror web site. Trac is working perfectly; the web site works if exact URLs are provided (as in <a href=...>

View 7 Replies View Related

Mailman / Apache Configurations Not Correct

Apr 16, 2015

I have two problems regarding Mailman Mailing Lists.

1) The Mailman Interface is usually located under lists.domain.tld/mailman (I changed the config from /cgi-bin/mailman/ to just /mailman/), but it seems the apache confs for this subdomain are not applied – I only see the servers default page when visiting this URL. domain.tld/mailman works, though. It would be great if lists.domain.tld/mailman would actually work and domain.tld/mailman wouldn't work.

How do I change/repair the configurations properly? I've installed the newest MU and already to reinstall mailman.

2) I get an Internal Server Error when visiting the domain.tld/mailman Interface. Reason is mod_suexec, which I need to disable for domain.tld/mailman, but where and how? All the vhost configurations are created automatically.

I could imagine this is related to my first problem and the mod_suexec thing is properly configured in the lists-subdomain config.

View 3 Replies View Related

Domain Flagged For Malware; How To Correct Blacklist

Apr 29, 2009

A Wordpress install on one of my domains was compromised a few months ago, and there was a 4-hour window in which the site contained an iframe injection that lead to a malware site.

The problem was corrected, and Google stopped flagging the site as malicious within a few hours after the fix. However, every once in a while I still hear of people having problems accessing the site, all of them I think from within large corporate networks.

Are there a few common list providers that these corporate networks are likely to be subscribing to? Is there a way I can submit the domain for reevaluation? If not, how long would you think a domain would have to be clean in order to repair its reputation on these lists?

View 3 Replies View Related

Am I Correct The R1soft Does Not Preserve Permission/ownership

Aug 9, 2008

Am I correct the r1soft does not preserve permission/ownership?

View 5 Replies View Related

Apache :: Conversion Of Internal Links To Correct URL

Aug 22, 2014

A dynamic php+mySQL site was converted to a static html by mirroring (wget). The result was that each page became an html file named some-page.html

View 4 Replies View Related

Correct Procedure For Migrating Email Accounts From One Host To Another

May 11, 2007

I have a client who will be pointing their domain to my reseller server. I have already setup the account on my server and made the appropriate DNS changes with their domain registrar - so the domain should be pointing to my server soon.

However, what is the normal procedure for migrating email accounts, without loosing mail?

When should they change email account settings?

Should they use their current settings until they get an error, or no longer receive mail, then change settings to match my server?

How is this normally done?

View 4 Replies View Related

Apache :: Setup Dynamic Content Configuration - Correct Headers

Aug 28, 2014

I am trying to setup dynamic content configuration in apache 2.2 httpd conf. Here is the configuration and couple test cases:

CONF:
<FilesMatch ".(js|css|gif|jpg|jpeg|png)$">
Header set Cache-Control "no-cache, no-store, max-age=0, must-revalidate"
</FilesMatch>

TEST 1:
Without <FilesMatch> directive, the headers are set to all requested content as it should. This includes content served from apache server and content from a separate application server.

TEST 2:
If I use the above configuration example, I can see that static content comes with correct headers only

View 1 Replies View Related

Plesk 12.x / Linux :: Migrating Backups In Correct Directory Structure

May 28, 2015

I'm migrating sites from Plesk 9 to Plesk 12 using the migration manager. Since the migration manager doesn't migrate backups, are the backups compatible between Plesk 9 and Plesk 12? If so, is there an easy way to copy the backups in the correct directory structure since we are forced to use clients in plesk 12 and it changes the directory structure of the backups folders.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved