General :: Set Wordpress Permissions On Server
Mar 9, 2011
I have question regarding setting permissions on wp-content/uploads... in wordpres. I read a tutorial where they want you to set permissions: chown -R julie.julie uploads/ chmod -R 777 uploads/ 777 makes it rwx for others as well. It's not secure! It works but is temporary fix. How I can make sure that the user julie (wordpress) will be able to write to it but anybody else wont.
View 3 Replies
ADVERTISEMENT
May 7, 2011
Main purpose of this LAMP server is testing development. I would like to get this server setup up almost exactly to a T how my real web hosting server is setup. I am running 11.04 and have installed LAMP. I also installed vsftpd. I went ahead and made a symlink from /home/user/public_html to /var/www/. I login from a Windows 7 computer via CuteFTP to my Ubuntu server. I can enter the public_html directory and can create folders but the default permissions for any folder created is 700. I have tried running chmod -R 755 /home/user/public_html but this does not work. Every file or folder created now currently will take a 700 permission.
How do I make it so anything that is uploaded into this folder will be at either 755 or 775? Also what is the best practice for utilizing the /var/www directory? Should I be using a symlink to link it to my user's home folder? I have read through so many posts with regards to adding users to a group and giving this group permission and this or that I'm so confused.
View 2 Replies
View Related
Jun 27, 2010
I'm trying to get wordpress to work with lighttpd and my home test server... <name>.dnsalias.org as my IP is not static... When I install wordpress ( via apt-get ) and set it up through install script like this:
bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress <name>.dnsalias.org It is accessible from outside of my network but not from local one where the sever ip is 10.0.0.200 From outside it is using correctly domain <name>.dnsalias.org but from inside when I try to use ip 10.0.0.200 from other pc on net it will not work..a s it still using <name>.dnsalias.org in all links... Also I would like to have it in <name>.dnsalias.org/wordpress as I have another test site in <name>.dnsalias.org/<test_Site> which by thee way works from inside and outside of my network.... its just wordpress ...
I have followed this guide: [URL] but its for apache... I spend whole night searching for some solution and now I'm dead tired and you are my last hope ...( ....Obi Wan Kenobi ) So does someone running wordpress in setup like I described above, if yes
View 2 Replies
View Related
May 16, 2009
I have a wordpress blogging server up and running and i've also got nagios monitoring the speed of webpage download etc.The thing is a couple of weeks ago nagios alerted me that the blog was returning pages really slow loading, when i went to the blog homepage for me also it was very slow. After about 30mins of http connections some finally loading and some not nagios stopped reporting issues, but thats not the end of the story, the graphing of speed i've got set-up on nagios shows quite clearly that ever since that big slow down the pages take avg of extra 2-3 seconds to load. However nothing drastic has changed and the datasize of the page hasn't really changed at all (also monitored).
During that weird period I carried out checks on the server itself like top, free -m, netstat (looking for maybe DOS attack number of connections), looked at mysql see if that was running slow and what processes it was running, checked on number of http processes see if they had ramped up, checked on php and web server errors see if they had increased some what as well. None of these things turned up anything noticeable to be causing such slow blog response.Now its still that average amount high and i'm lost at why this could be? Its niggling at me that something may have got in but i've taken several security steps to try and lock down the wordpress install etc.
View 5 Replies
View Related
Jun 19, 2011
I host a number of sites and recently migrated to a new server (both old and new are running Ubuntu 10.04 [I only upgrade my web server when there is a new LTS release]). After the migration, Wordpress is asking for ftp credentials to update plugins, which it never used to do. I'm certain this is user/group/permissions related, but because of the new setup, I'm not sure what these should be set to.
On the previous server, each site was a subdirectory of /var/www/ and everything was owned by www-data. This wasn't the best setup, since it meant my users didn't have direct access to their own sites. In the new setup, each page I host is in /home/username/www/. Consequently, all the files are owned by 'username'.
My guess is that Wordpress' request for ftp credentials stems from a conflict between the apache2 user and the usernames that own the sites. Is this accurate? If so, how do I rectify this?
View 4 Replies
View Related
Mar 5, 2010
i have been using kloxo with apache for my websites and it's on a high load, i have to change with lighttpd and i don't know how to make wordpress use permalinks, i tried to install mod magnet but it wasn't in centos.
View 1 Replies
View Related
May 16, 2011
I have a blog on my site and am using htaccess rewrite rules to block all those nasty scripts from trying to execute various things mostly relating to phpmyadmin and wordpress. This has reduced my httpd error logs to less than half from before.
Am trying to come up with a rule to rewrite all calls to certain files if they are not originating from my domain, here is how it looks right now but it's not working as I can see scripts trying to hit "wp-comments-post.php" getting a 500 Internal Server Error.
View 2 Replies
View Related
Feb 7, 2011
I have a web server with LAMP and wordpress on it. I'm going to administer wordpress from a different host on the same LAN as the server (the server doesn't have X and desktop software on it). When you build a site, with wordpress, from a separate admin host what exactly is happening?. Do browser requests from the admin host go to the web server, then out to the Internet, then back to the web server, then the results get displayed back to the browser on the admin host?. Or does it work differently?. Will such a set up work automatically after the installation and basic configuration of LAMP and wordpress on the web server?.
View 3 Replies
View Related
Feb 9, 2011
I've recently started setting up a new wordpress install on a new dedicated server. The system is installed on a linux debian 5 setup and running on apache.Having only ever run shared hosting before this setup is a much bigger leap than expected, but after a couple of weeks doing bits here and there I've finally got the setup running, and all appears ok.My issue is as follows:On the server the default owner of all the installed folders is "root"In order to allow media uploads, plugin installs and upgrades and wordpress auto-upgrades I've had to Chown the owner of the entire wordpress directory to the server as follows:Chown -R www-data:www-data /usr/share/wordpress/
Can anyone tell me if this is actually secure? (clearly if the server is compromised the folder would be writeable!) If not would I be better changing the owner back to root (or even creating a new user for the wordpress folder?), then chown just the uploads, theme, and blogs.dir folders to allow media uploads, upgrades, etc from with the wordpress, and then only chown the entire wordpress install when upgrading or installing new plugins, themes, etc.?Just a bit lost when it comes to the ownership of these folders as changing these ownerships is the only way i can get the system functioning 'correctly'
View 9 Replies
View Related
Feb 9, 2011
Everything looks like the same, port 110 is also open and accessible, the posting account got email, but never showed up in WordPress, why?
View 2 Replies
View Related
Apr 19, 2010
To automatically upgrade i need to connect to a FTP server. Now do i have to allow wordpress access via apache to the machine it is on or do i have to create a ftp server on another machine with the files on it?
View 2 Replies
View Related
Jun 20, 2010
I have VPS installed with Debian, NGINX, mysql, php and wordpress. By default the template gives 1 wordpress install in the /var/www/ directory. However, now I want to add more domains with wordpress to that VPS. I created a directory called /home/public_html/domain1.com and linked it to the /var/www/ directory. then I created another directory called /home/public_html/domain2.com and uploaded wordpress there. What I did next was edit my /etc/nginx/nginx.conf file with the following code:
Code:
user www-data www-data;
worker_processes 4;
events {
[code].....
View 1 Replies
View Related
Sep 14, 2010
I'm trying to set up my web server (nginx) as a catchall virtual host, as per an example that can be seen here: [URL].. (It's the Wildcard Subdomains in a Parent Folder example). Now, here's my issue. I use Wordpress on the coburndomain.org domain. I have pretty URLs enabled, that make my Wordpress articles look like this:[URL].. At the moment, nginx is reporting 500 Errors, saying that index.php is not a directory. What I want to do is make a rewrite rule that allows me to use the above URL example with nginx.
I followed this tutorial to do so: [URl].. , but I'm not sure how to apply it to my setup. Here's my configuration files from Debian Squeeze with Nginx onboard:
[Code]...
View 1 Replies
View Related
Apr 8, 2011
i havea server linux ubuntu 10.04, i want to install Word press on it. how can i do it, i need step by stepguide please, from downloading relevant softwares to installing them.
View 5 Replies
View Related
Jan 11, 2010
I have recently decided to venture into online blogging and other things, and my friend told me wordpress is a great tool for this. I have set up my mysql database, and apache and php are all working fine, and when i copy my wordpress folder into my /var/www/, and edit the config file for my database, i point my browser to[URL] to get it up and running. But i only get the error: "Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /var/www/wordpress/wp-admin/includes/plugin.php on line 302". Some googleing seems to suggest that this may be a problem with a php.ini file, but im assuming this is a windows based solution, and im not sure where/what a linux alternative is.
View 4 Replies
View Related
Jun 17, 2011
I have local Wordpress database that got corrupt as a result of an abrupt power outage (I wasn't even editing it!).
Since the system I am dealing with is pretty static (and old), I just want to restore that database file (or collection of files) from a nightly backup.
But I don't know which files I should be restoring. The WordPress blog in question is installed under a local user account in an old Linux server (FC4).
I checked the wp-content directory, but apparently this is not where the content is:
Any idea which file(s) I should be restoring and what their path is?
View 1 Replies
View Related
Feb 6, 2010
This is my first post so quite fitting it should a pretty stupid question. I have a CentOS server to which I have installed mysql/apache/vsftpd/php5 and wordpress. I can ftp in using the ftp account (i changed the password) but it cannot create directories/files. Im trying to change the wordpress theme for which it askes for FTP credentials and when I put them in i get this error Could not create directory /var/www/html/wordpress/wp-content/upgrade/midnight-blue.tmp
I am guessing this is either a permissions problem on the user side or a directory permissions/ownership issue, but i have no clue where to start on this.
View 2 Replies
View Related
Nov 9, 2010
i want to know what is use or benefit of using s and t permission?i have used them but could not understand its uses.please explain me with suitable example.Also tell me about umask command to flag on s and t.
View 1 Replies
View Related
Mar 15, 2010
I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:
chmod: changing permissions of `whatever': read-only filesystem.
This is my mount table:
[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
[code]....
View 6 Replies
View Related
Jul 30, 2011
I have Ubuntu server with Apache 2, PHP, and various DBMSs running in VirtualBox on my Mac host for my web development work. To easily create/edit the files I'm working on, I mounted a directory from my Mac host via the VirtualBox shared directory feature to /var/www/. Every file I create on my Mac host has the following permissions on the on the Server: -rw-r--r-- 1 root root 6 2011-07-30 01:27 test.The problem is that most PHPscripts/frameworks/etc.need write access to some files.It is extremely annoying to have to chmod every new file/directory that needs write access.Is there a way to set the correct permissions for the files/directories automatically?
View 2 Replies
View Related
Aug 11, 2010
How do I change folder permissions without changing the permissions of the files within the folder?
View 6 Replies
View Related
May 17, 2010
I run Debian 5.4 with ISP Manager as CP. I put a .htaccess in the root directory of my wordpress blog. The content of the .htaccess is:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
[Code]....
But after I created a static page and change permalinks in wordpress with anything other than standard I get a browser 404 error (not 404 error with template).
Location of the blog content that is shown in CP: /var/www/sorin/data/sitename.ro Only the index of the blog is loading. What can I do? I have Debian up-to-date.
View 1 Replies
View Related
Jun 18, 2009
But I can't upload files or pictures all the time.Everytime I tried to upload , it tips me : "can't create file or folder ...... . is its parents folder writable by the server?"Now it's considered as a bug.But I tried 3 methods introduced on the net . But none of them worked. They are : 1: change the folder permission to 777 , not work for me.2: change the URL to "wp-content/uploads" not "/wp-content/uploads" , not work for me.3: use full url not "wp-content/uploads" also not work.
View 8 Replies
View Related
Jan 13, 2010
I have a problem with my Wordpress installation.It works from inside of my LAN but not from Internet.I have opened for the port on my router and the default html page works from Apache2 from Internet.
View 5 Replies
View Related
Apr 9, 2010
I have my own personal web server with xubuntu on it, but after I upgraded to 9.10 my wordpress blog stopped working.
View 9 Replies
View Related
Nov 7, 2010
Can anyone tell me how to install WordPress on Ubuntu 10.10?
View 5 Replies
View Related
Apr 15, 2010
I have big problem. I want to learn how to make a web site via joomla or wordpress. I install joomla and wordpress via repository. So i have all what i need. So....i have problem with permissions.
I have Mandriva 2010 one GNOME
Here is link to image
[url]
[url]
View 1 Replies
View Related
Mar 20, 2010
I am running Debian 5.0 (Lenny). I am trying to get Wordpress 2.9.2 to work with Sqlite3. I hear Sqlite is a better database server than MySql because it is lighter on resources and is much smaller. I am very new to Sqlite3, however, so I'm not totally sure what to do here. In my wp-config.php file (the Wordpress configuration file), I've set the database name and user name, and such. Now, I think I know how to create a database, but from that point forward, I'm lost. How do I add the password for Wordpress to access the database. By the way, I made a regular Unix user, called sqlite, for all Sqlite things.
View 1 Replies
View Related
Dec 23, 2010
I am very new to CentOS and running a server in general. I managed to get a server setup with CentOS, and it's running a wordpress driven social networking site. Everything is fine except sometimes my server won't send registration/activation emails to some email addresses. This is a huge problem because people signup but then can't activate their account. I don't understand why its sending some and not sending others based on the email domain? The guys at wordpress said "it's that your server does not support SMTP or at least wp_mail() in its normal form" but that doesn't mean much to me.
View 3 Replies
View Related
Aug 1, 2010
I have a FTP server (vsftpd), and would like to setup different file permissions for different groups:
-"ftpusers" group should only be able to browse and download.
-"ftpadmins" group should be able to browse, download, AND WRITE (RNFR, RNTO, MKDIR....).
Let's say my main directory is /var/ftp/docs/. It should be accessible by "ftpusers" group, but only writeable by "ftpadmins" group. Other groups or users may not access it. Which permissions and ownership should I give? My problem is that the dir can't be owned by two groups...
View 2 Replies
View Related