Apache :: No User Or Group Set

Apr 3, 2014

I have opensuse 13.1 on my server and i folow this tutorial: URL....but as you see this is for opensuse 12.2, but i manage to run everythink only apache2 server.Well i get this error, but i run vhost.No user or group set - set suPHP_UserGroup..Well apache2 is rurning as every other thinks on server only web page dont show and i get error: Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

View 1 Replies


Why Should Us Change The User/group Of Apache

Jul 27, 2008

APache is running under the "nobody" user/group as default in CPanel servers
as a suggestion I should change it to another user/group to improve security!

But in CPanel servers its hard to do that because you must edit some scripts and files to prevent the backing to nobody when running some scripts such

PHP Code:


or when create a new account

Some sites says "the secret of changing the user/group is in the UID/GID of nobody < 100 !"

so I found a solution :

1 - delete the user/goup nobody

2 - recreate it with GID/UID > 30000

3 - run /scripts/chownpublichtmls

so the question is that solution improve security or i should change the user/group to another one! like "www"?

View 3 Replies View Related

PHP MKDIR OWNED Apache User / Group

Feb 17, 2015

When a php framework try to create a new folder, it's created with apache: apache owner instead the user and group owned the root folder.

the PHP safe_mode is set to off.

View 3 Replies View Related

Plesk 12 Permissions For Sites Using Apache For User And Group

Jan 6, 2015

We have several sites on one server. When I use the plesk wordpress manager it some how updates the User and Group permissions on folders and files with the username apache. How or what command do I run to get it to use the site username and psacln. It appears something maybe in an update or whatever has caused this issue. This only occurs with wordpress and drupal updates from the plesk interface.

What command can I run just to update the permissions to update all users to a username and psacln security settings on folders and directories.Running Plesk 12.0.18 and CentOS7

View 1 Replies View Related

Apache And "nobody" Group/user

May 13, 2008

I have a question regarding running Mediawiki on my server and the user/group "nobody", which seems to be causing problems as far as file permissions go.

When a file is uploaded via mediawiki, it's assigned the group/user of "nobody"
This means I can't change the file's permissions via ftp or ssh, unless I login as root and chmod/chown the file back to the proper user.

View 8 Replies View Related

Which User Group

Aug 27, 2007

I'm making an account for my friend, and I just want him to have access to /var/www/hishomedirectory/

I want him to be able to do anything in that directory (rename files, delete, copy, move, upload, etc..), but not able to use apt-get or play with settings. Not a superuser either.

View 3 Replies View Related

Group And User Xfs Created

Dec 18, 2008

After some yum updates last night one user and group called xfs were created on my dedicated server. Does anyone know what this group/user is used for?

View 0 Replies View Related

Upgrading To VPS - User And Group Permissions

Jul 23, 2009

I've finally made the leap to upgrading from shared hosting to a VPS. I'm still setting up my configuration before I point the domain name to my new server, but for now, I have the site mirrored and I'm ensuring that all is running well. For the most part, everything is working, but I am running into a few permission issues...

As of right now, all the files in my htdocs directory are owned by root, and I am logging into my FTP client as root. However, I'm pretty sure that this is not how I should be doing this, because I need to allow write permissions to some folders from my php scripts.

I was just curious, how do you you guys set up the users and groups on your linux servers (running apache). I'm just not certain of the best way to handle it. Should I make a new FTP user, and if so, what group should it go in? Should that user be the owner of all the web files? When is it safe to set folder permissions to 777?

View 4 Replies View Related

Changing User/group Disk Quota In LXadmin & CentOS4

Aug 7, 2007

LXadmin seem to have a preset disk quota limit to users/groups, even root!

So, how do I change these disk quota limits? There isn't an option in the LXadmin control panel either.

View 1 Replies View Related

Apache - Run Virtual Host As User

Jun 5, 2009

I've run into a wall trying to run apache with multiple websites allowing users to use FTPd to manage files.

I'm running FreeBSD 7.1 on Apache 2.2.x

The issue is that Apache runs as www:www but FTPd writes the files as username:client. When performing some scripts that edit back-end files, this obviously can cause errors.

The data for each directory is stored in /home/username/www

I looked into some apache directives I could use. I tried putting User and Group directives into the vhost configuration for each vhost, but that did not work. I even found the perchild module and it looked like it can do the job but was a bit scared and turned off by the fact that it states it is beta at the top of the page. (I cannot link to it because I do not have enough posts.)

View 2 Replies View Related

Apache User Authentication Logic ...

May 11, 2009

I'd appreciate if you can point out some links, or if anyone is willing to help me for a fee, we can talk about it.

I have a web application called MyApp

- Each MyApp user has 5gb hosting, and a web interface to manage their files.

- Therefore MyApp user gets a user account on linux machine and has access to only one directory /repo/usr/<user_id> and nowhere else. (suexec?)

- If that MyApp user creates a subdomain from any folder inside his home folder (he can do that using web interface), that folder is readable by www-data user not writable.

- That myapp user is able to mount/unmount his own ftp drives using curlftpfs.

- In short, users can only mess with their own files and they have no access nor rights to any other file that is outside of their home dir.

In short, this is a kind of hosting company server setup. Right now, we will have to manage all this from -only- one powerful server.

View 2 Replies View Related

PHP: Uploading As Apache User, And Chmod 600

Aug 12, 2007

I've recently moved to a new server in which I don't have root, so bare with me.

For some reason when I upload a file with 'move_uploaded_file($tmpName,$new_filename)', it seems to work fine - but when I check it, try to download it (http or ftp), or change the permission - I can't, because its set to 600 for some odd reason, and owned by the user Apache is setup on.

View 5 Replies View Related

Apache :: FTP Accounts And User Permission?

Feb 20, 2014

My apache VPS is having a minor problem.

Using SSH, I gave permission to my FTP username with code below:
chown -R user:ftpgroup /home/site

But my WP theme needs to set up that user I use is rewritable and use this code:
chown -R www-data:www-data /home/site

since using a php code to check WP user and it shows www-data.

MY PROBLEM: I need my FTP to able to write cause i use plugin to create backup and change plugin. My theme also need for both to work.

I can't seem to make run together. I can change group or FTP as long as I can have m WP working.

View 2 Replies View Related

Apache :: Mod Rewrite Based On User Name?

May 7, 2013

I am using apache with subversion and need to redirect a request for a file to a different file based on the user that has made the request. It appears that the URL for the requested file could be changed on the fly using RewriteMap; however, is there any way to get the User (as typically given in the request_rec available to apache hooks) making the request in the program used?

View 2 Replies View Related

How To Limit Apache Clients On One User On The Cpanel

Apr 28, 2008

i have 2 questions

1 ) iwant limit one user on the cpanel limit on the apache conections?

2 ) i want limit one user not use download manager for site clients

View 4 Replies View Related

Soft Or Tool To Manage Apache User

Apr 20, 2007

Here is what i have:

- Webserver for member to download which is using user/pass from .htpasswd to allow anybody can see file or download.

What i need:
- any software(code) can show me who log in and when, how much they download, how many time did they login. ---> this to prevent account from to be shared between many people.

- some sort of tool or software can allow me to add new user/pass quick since i am manuallly adding new username/password encrypted to .htpasswd file.

what software to use( or to buy if not so exspensive).

View 3 Replies View Related

Apache :: Exclude User Agent From Rewrite

Jan 27, 2014

I have a rewrite for mobile clients :

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|iphone|ipad|nokia" [NC]
RewriteRule ^$ https://www.myudomain.com/Mobile [L,R=302]

My mobile site is HTML5 written and old phones doesn't support it. How to exclude f.x. old nokias - like 6220 and rewrite old phones to /Mobile_old?

View 1 Replies View Related

Apache :: How To Detect Where User Has Come From A Specific Website

Nov 1, 2013

configure Apache server to handle users requests using condition based on where he come from so i can redirect him . what i need if user came with from site start with xn--* redirect him to virtual host and if he came from any other link then go to another virtual host

View 2 Replies View Related

Apache 2.2 DocumentRoot /home/user/public_html Not Exist

Dec 18, 2007

I am getting this error and I just installed apache 2.2 and added a user using useradd user. When i added into the virtual which is:

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /home/user/public_html
ServerName user.com

It does not find the public_html folder I added. Is this a permissions problem? or something else?

View 7 Replies View Related

Apache :: Client Certificate Authentication To Verify User Name?

Oct 1, 2014

Is it possible to verify client certificate based on username?If possible, How can we implement it in our httpd-ssl.conf file.

View 1 Replies View Related

Apache :: Remote User Reverse Proxy And Authentication

Dec 17, 2013

I have several applications that use authentication and expect REMOTE_USER to be set by Apache for authentication/authorization.

I am putting a reverse proxy, with shibboleth in front of these applications, on a separate server.

Currently, REMOTE_USER is not sent. I have tried a few things, and I am currently sending it inside another header, but I have some applications that are closed sources and this will not work.

Is this possible to do? I am running this with Apache 2.4.7, I believe, on the Windows platform.

View 2 Replies View Related

DirectAdmin - Access Denied For User 'apache'@'localhost' (using Password: NO)

Jun 20, 2009

I get the following error when let my site connect to my database: Access denied for user 'apache'@'localhost' (using password: NO)

But when im running lil test script which connect to my localhost with the same passwords and it gives the status 'Connection OK' (im running on admin account, made a MySQL account with DA)


<?php $link = mysql_connect('localhost','admin_removed','removed'); if (!$link) { die('Could not connect to MySQL: ' . mysql_error()); } echo 'Connection OK'; mysql_close($link); ?>

View 2 Replies View Related

Apache :: Basic Auth User Not Logged In Common Log File

Jul 18, 2013

I use Basic Auth to limit access to a web site. This seems to work ok. I noticed though in the logs that the logged in user is not logged:

80.....188 - - [16/Jul/2013:09:56:29 +0200] "GET ..." 200 1844 "...." " ...

I would expect the second - to be replaced by the logged in user. The doc says, the user is logged if the document is protected. I do protect the whole directory using directory match. Without log in I fail to retrieve the document in question.

View 4 Replies View Related

Trojan Activity - Running Perl With High CPU Usage, With User Apache

Sep 5, 2007

Running programs named Perl with Heavy CPU usage, with the ownership of user apache.

We found the problem on Fedora 3 and Fedora 6.

In our case, it was the result of a Trojan activity.

Quick Solution

Check the cron jobs of user apache
crontab -u apache -e
*/1 * * * * perl /tmp/.tmp/tmpfile
delete the cronjob entry.
Also delete the file /tmp/.tmp/tmpfile
also added "apache" to the file /etc/cron.deny

That's all

Problem and solution in detail....

View 1 Replies View Related

Ban A Group Of IP

Jul 25, 2007

Is there a way to do so in cpanel using ip deny manager?

View 4 Replies View Related

How To Configure Apache Logs For Virtual Host (copy Log File To Homedir Of User )

Jul 19, 2014

I'm trying to configure Apache logs to split logs files for every virtual host on the server

for example: {site1 .com} => copy access_log to /home/site1/public_html/logs {site2 .com} => copy access_log to /home/site2/public_html/logs .. {site3 .com} => copy access_log to /home/site3/public_html/logs

i want to also to make sure is the logs files updated in the real time

operating system is CentOs6, with Apache and cPanel

View 1 Replies View Related

Redirect Domain/user To User.domain ONLY IF Folder 'user' Doesn't Exist

May 7, 2007

I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)

If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com

View 3 Replies View Related

Group Of Servers

Mar 8, 2007

i have a main server that is connected online & now live with a static IP address. at the local network, i have 6 other PCs running apache that is connected to the main server.

since i can only effort for 1 IP now, how can i have the local connected servers to be viewable from the internet as well like some normal web URLs?

View 5 Replies View Related

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