Removing Tilde (~username) Access From Server
May 21, 2009
I've searched the forum but not found the solution and I'm sure it's probably very simple.
How do I disable users from accessing their accounts via the [url]~username method?
On an apache server running cpanel.
View 3 Replies
ADVERTISEMENT
May 18, 2015
When I try to SSH to server with hosting username it disconnects and says in secure.log:
May 18 14:33:40 mail sshd[22764]: error: ssh_selinux_setup_pty: security_compute_relabel: Invalid argument
I run Plesk 12, sepolicy is Permissive.
View 1 Replies
View Related
Feb 14, 2008
What's the best way of removing files and cleaning up when finishing a server rental?
View 9 Replies
View Related
Apr 28, 2015
To automate some tasks for some projects I'm working on, I need to be able to automatically create or delete ftp-users.
Creating and listing ftp-accounts is working great, but when it comes to deleting them I run into an internal server error. Before my script gets the response it's waiting for, the script crashes.
- When live watching the Apache error-log with 'tail -f', the terminal-session is exited with 'Killed (core dumped)'
- Apache error-log shows:
Code:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://example.com/ftp.php?action=delete
Premature end of script headers: ftp.php, referer: http://example.com/ftp.php?action=delete
- Webbrowser shows default '500 Internal Server Error'
I have checked and changed time-out settings, but it didn't work. Error occurs a few seconds after executing, while the timeouts are set to 60 to 90 seconds.
Packet send to Plesk:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<ftp-user>
[Code].....
View 15 Replies
View Related
Sep 29, 2014
I am using user authentication with the following components:
Apache/2.4.10 (Win32) + mod_auth_basic + mod_authn_dbd + mod_dbd + ODBC Driver + Microsoft SQL Server 2008(SP3).
It works fine except when I do not provide any username when browser asks for username and password. In this case I receive the "Internal Server Error" as the response instead of "Unauthorized" response.
The most interesting part of the error.log is:
[Sat Sep 27 21:23:17.639860 2014] [authn_dbd:error] [pid 1208:tid 1636] [client 127.0.0.1:1363] AH01656: Query execution error looking up '' in database [[dbd_odbc] SQLBindParameter returned SQL_ERROR (-1) at apr_dbd_odbc.c:604 [Microsoft][ODBC SQL Server Driver]Invalid precision value HY104 ]
The AuthDBDUserPWQuery directive in my httpd.conf is:
AuthDBDUserPWQuery "SELECT password FROM member WHERE CONVERT(VARCHAR(10), member_Index) = %s"
And the member_Index column in the database is smallint.
View 5 Replies
View Related
Nov 11, 2013
each time i migrate a Domain from a plesk 9.5.5 Windows Hosting Server towards the new plesk 11.5 Server the customers iusr Password does not match the Systems iusr Password.so after each Migration the Website is requesting a username and Password.
1. how to solve that for the whole Installation?
2. at plesk 7.5 and later there was a Workaround which is not anymore supported: websrvmng.exe –update-anon-password –domain-name=yourdomain.com
View 5 Replies
View Related
May 26, 2007
I got this from my data center.
[url]
You will need to remove that html from your server.
how do I remove from server?
View 6 Replies
View Related
Sep 21, 2005
I know that the IMAP method has the sometimes useful feature of leaving the emails on the server when viewing using an email client like Outlook Express. However, in our case we were forced to use IMAP inorder to use AOL as our ISP and Outlook Express as our email client. Is there a way to have the emails removed from the server after downloading like a POP3 connection does?
The client fills up the mailboxes until the email stops working.
View 0 Replies
View Related
Oct 7, 2009
any iframe removing script.
View 7 Replies
View Related
Apr 17, 2009
I have a RHEL 5 server, that host one site with a common PHP 5.x -MySQL 5.x app, it also uses .htaccess to rewrite rules. I'm trying to optimize apache to the max, and though about removing some unneccesary modules. The actual modules loaded are:
Code:
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule version_module modules/mod_version.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule evasive20_module /usr/lib/httpd/modules/mod_evasive20.so
LoadModule security_module /usr/lib/httpd/modules/mod_security.so
Besides of mod_evasive, mod_security that are security modules, what modules can I disable without causing any problems to a common PHP-MySQL website?
This is a plain RH box, virtual host is configured at httpd.conf in this way:
Code:
<VirtualHost SERVERIP>
ServerName mysite.com
ServerAlias www.mysite.com
DocumentRoot /var/www/sites/mysite.com
<Directory "/var/www/sites/mysite.com">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</VirtualHost>
View 4 Replies
View Related
Jun 23, 2009
We have a large amount of multimode fiber coiled up under our raised floor that needs to be removed. The end that remains intact is running to a SAN cabinet that is very densely populated and our vendor has suggested cutting the fiber to make it easier to remove without disturbing the remaining active fiber.
Does anyone have any experience cutting fiber in a data center environment ?
Are glass fragments or any other debris a concern ?
View 6 Replies
View Related
Apr 29, 2008
I've removed a website from my server, terminated the account, removed all files. But when you go to the domain name, you get the "Great Success ! Apache is working on your cPanel® and WHM™ Server" page. I dont want even that. I want nothing to come up.
I want it to appear as if the domain/server never existed and show up as a 404 or whatever (this was a forced remove). Is there any way to do this? is there something I didnt do? Or am I stuck since the domain is still pointed at my server.
I've tried to give the hint (move), but it hasnt worked, so I have a feeling I'm going to get questions about this new issue. It's a church related group (even thought theyve been warned this was coming), so its hard to be an AHole, but they need to go.
I just want it to come up as if it never existed on my server, if possible.
View 5 Replies
View Related
Mar 31, 2007
Sometimes if I tried to use rm to remove too many files I got this:
-bash: /bin/rm: Argument list too long
I think there was a workaround, like ls and then piping the result to rm, but I forget.
View 3 Replies
View Related
Jul 25, 2007
if a program is compiled and installed (configure -> make -> make install) with a --prefix pointing to an empty subfolder, then would removing it be just a simple delete the folder and it's contents action ($rm -fr subfolder/).
Ok so lets say I was to install php from source with a complile prefix flag set to /usr/local/php
Then all the binaries and configuration files are set within the directory (php/conf , php/bin). If I want to delete the php installation then I would just remove the /usr/local/php directory, No?
View 2 Replies
View Related
Dec 10, 2013
So I insert following code in my apache.htaccess file in order to remove www and php.This is my whole file
ErrorDocument 500 /500.phpErrorDocument 404 /404.php# force non-www domainRewriteCond %{HTTP_HOST} ^www.example.com$ [NC]RewriteRule (.*) http://example.com/$1 [R=301,L]#RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ $1.php [QSA,L]
View 1 Replies
View Related
Mar 28, 2009
We are getting critical warning of disk space as a result of our exim logs, specifically exim_mainlog and exim_rejectlog.
What is the proper ssh command to delete or minimize these?
I am not that familiar with the correct commands. Both files are located /var/log/
View 1 Replies
View Related
Nov 13, 2008
I get this error in Plesk 8.6 when trying to delete a domain. I have tried various things from various forums, but they have failed:
Error: Unable to remove domains: Problems occured while removing domains: Delete database user failed: Object 'sys.queue_messages_210099789' does not exist or is not a valid object for this operation.
Earlier when I tried to remove it, it removed only physical hosting from the server (not the complete hosting account). When I try again to add physical hosting I get:
Error: DNSZone::Table:: select() failed: no such row in the table
Not sure if two errors are related. Can anyone help me out with this.
View 7 Replies
View Related
Jul 11, 2008
The one thing that currently annoys me is that when an account is terminated from one of our servers, the account is still left on the backup drive.
Is there any way to automatically remove the accounts files from the backup drive when terminating an account? Or do I have to continue to do it manually?
Using cPanel/WHM/CentOS on all servers.
View 3 Replies
View Related
Feb 1, 2007
I have a customer who has a problem, today when he opened Outlook Express, it downloaded his new mails and deleted them automatically and also other mails, then when he clicked the "Trash" directory, it was empty. He checked if no one set rules, and the rules dialog is empty. He says his antivirus is up-to-date.
View 2 Replies
View Related
Jun 11, 2014
I'd like to change /comp.php to /comp but I have only found articles on how to remove .php completely and I don't want to do that, only want to do it for this one file.
View 5 Replies
View Related
Jun 13, 2008
I have 2 domain names with 2 usernames setup on WHM:
domain1.com - domain1
domain2.com - domain2
I would like domain2.com website visitors to upload photos to a domain1 path. Unfortunately I can't, I think the problem is with the usernames and the fact that the path where I would like to add the photos belongs to domain1 user. The chmod is 777.
How can I set this up on WHM so domain2.com visitors can upload photos to a domain1 username path?
View 8 Replies
View Related
Jul 13, 2008
Something weird happening here. I have tried every string possible...
There are a number of folders I want to remove off my server, tried the good old and simple...
rm -r /folder/
And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.
Could this be a configuration option in CentOS?
View 3 Replies
View Related
Oct 15, 2013
I am installing plesk go to dns template for edit, when need remove defualt ns record recive this error :
Error: Unable to remove the NS record from the DNS template: Each DNS zone must have at least one NS record.
I am already add 2 ns record !!
View 2 Replies
View Related
Jun 1, 2008
My server with APF (firewall script) with BFD logs over 1215 events today of some hack user or bot trying to login to my server from various of IP trying many kind of usernames...
Is it possible to customize BFD to automatically ban the IP directly if the username they try to login with it was wrong 2 times?
For example the username is qwerty
The hack is trying with many usernames john, root, master, boot, etc...
View 5 Replies
View Related