Mod_rewrite Active But Not Reading Htaccess

Jan 18, 2007

although mod_rewrite is active but htaccess i not read why?

and how can i know mod_rewrite is active or not?

(Plesk 7.x)

View 6 Replies


.htaccess Mod_rewrite

May 28, 2008

I'm trying to redirect everything except the subdomains from an old domain to a new domain. The following appears to work so far:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^$ [NC]
RewriteCond %{HTTP_HOST} !^$ [NC]
RewriteCond %{HTTP_HOST} !^$ [NC]
RewriteCond %{HTTP_HOST} !^$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

But the subdomains also seem to be loading rather slow. Am I doing anything wrong here? Is there any way to optimise or simplify this (I have around 11 subdomains on the old domain)?

View 1 Replies View Related

.htaccess Block BaiduSpider Mod_rewrite

Oct 22, 2009

I have tried, without success, to block approximately 50 crawlers of the Baidu search engine, in China; since this web site can only sell magazines to people with U.S. addresses. The top 6 lines of my .htaccess file are at the bottom of this post.

Someone in OLM Support gave me the below link to webmasterworld. Since nothing I have tried so far has worked, I would appreciate someone knowledgeable about mod_rewrite and .htaccess letting me know whether I can place those 3 lines at the very top of my .htaccess file, or, if they need to be placed lower in the file. (If so, where?)

how to keep the Baidu crawlers out. The site is on Shared Hosting, so trying to keep them out with iptables or something else is not an option for me. They do not look at the robots.txt file or sitemap.txt file, they just come in....


If your site is on an Apache server, you can block using mod_rewrite via .htaccess:

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Baiduspider [NC]
RewriteRule .* - [F]

I included the [NC] which allows for case differences since at least one of the Baidu bots uses "BaiDuSpider"

deny from
deny from
deny from 220.181.7.
deny from 123.125.66.
deny from
deny from

View 10 Replies View Related

Reading RTG

May 26, 2008

What does green and blue color mean? is my total amount of traffic the total of both colors?

View 4 Replies View Related

Ls: Reading Directory

May 9, 2007

css $ ls -l /san
ls: reading directory /mountfd: Too many open files
total 0

View 3 Replies View Related


Aug 22, 2007

I have a message in queue for about 24 hours and checking the delivery log I found this.

cwd=/usr/local/cpanel/whostmgr/docroot 4 args: exim -v -M 1INUw5-0007VU-DZ
delivering 1INUw5-0007VU-DZ
Connecting to []:25 ... connected
SMTP>> EHLO svr01.xx***********
250-SIZE 20971520
SMTP<< 250 Ok
SMTP<< 450 Client host rejected: cannot find your hostname, []
SMTP<< 554 Error: no valid recipients

I have checked dnsreport for this domain and found this

WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.

***********.co claims to be host svr01.xx*********** [but that host is at 74.xx.xx.2 (may be cached), not]. <br />

What should i do to correct this error? btw, I host about 100 sites on this server.

View 3 Replies View Related

Reading LTO-3 Tape SLOW With TAR

Oct 17, 2007

I have a DELL LTO-4 Drive, which is brand new, less than 2 weeks old.

I am trying to read an LTO-3 Tape, using TAR, and saving it to a USB harddrive.

The first time i read the tape i filled a 200GB usb harddrive overnight, and now im trying to read the tape again (because we originally thought there was only 172GB on the tape).

The problem now is, im using the exact same command to extract the tape but its going painfully slow. For example, over a 12 hour period it extracted 1.1GB

What could have caused this huge slow down.

Even if i just list the contents of the archive.... it still reads slow, so its not the device its saving too thats slow.

im using just tar -xf <tape device> to extract and tar -tvf <tape device> to list the contents... both take ages to read something though should be read in a few seconds.

The tape drive reads the first 3MB within 1/2 a second... then i hear the tape mech slow down.

This is using a mandriva livecd since the only machine which has this tape drive connected is our windows 2003 server (tape drive is on a SAS Controller which none of our linux machines have).

What could have possibly caused this slowdown if im using the same tape drive, tape, controllers & livecd and what could i do to speed this process up, as i need to read this tape within 12 hours while the server is not being used.

View 0 Replies View Related

More Than 'max_user_connections' Active Connections

Jun 1, 2007

i am having an website like a webdirectory. BUT i am getting this error after every 5-10 mintues :

Warning: mysql_pconnect() [function.mysql-pconnect]: User USERNAME
has already more than 'max_user_connections' active connections in
/FIELPATH on line 93
Database error: pconnect(localhost,bstitne_netclass, $Password)failed.
MySQL Error)
Session halted.

PLEASE suggest how can i solve this. May be it is an server issue

View 4 Replies View Related

More Than 'max_user_connections' Active Connections

Apr 29, 2007

Since moving over to a new server, I have had to reboot my sql server about 5 times a day due to it crashing, and I always get the error:

Warning: mysql_connect() [function.mysql-connect]: User food_user has already more than 'max_user_connections' active connections in /home/food/public_html/includes/functions.php on line 9
Not connected : User food_user has already more than 'max_user_connections' active connections

I dont understand what is causing this...I used the tweaking guide as found on here and my.cnf file looks like this:

# Try number of CPU's*2 for thread_concurrency







Through my WHM, i went to "Show Mysql Processes" and heres what it displays

This problem has also occured on another one of my websites on the same server that makes use of mysql. Am I doing something wrong here? I dont think its the script because it ran for years on another server just fine.

View 7 Replies View Related

I Was Reading Through My Logs On My VPS Today And I Found

Feb 7, 2008

I was reading through my logs and came across about 100 attempts to login to my server via ssh. They were all blocked, but should I get these IPs blacklisted or what? I've already blocked em from the server, but should I try and blacklist them?

View 7 Replies View Related

Active Directory Home Folder

Jul 31, 2009

I am using Windows Server 2003 SP2 Standard Edition. I have installed Active directory and created users and their home folders. Everything works fine except a problem.

When a user from the domain uses the UNC to connect to the server, it shows the shared folder. The user can view and change all other users files, home directory etc. The user can browse all the folders.

I need it to be setup so that the user can only view his own home folder and files and not others. Also when using UNC to browse the server, I want an administrator authentication even if the user is from the same domain.

Here are my current permissions.

NTFS Root folder permission
Administrators - Full Control
CREATOR OWNER - Special Permission
System - Full Control
Domain Users - Read & Execute, List Contents, Read, Special Permissions.

Share permission of root folder
Domain Users - Read

NTFS Permission for user home folders
Created User - Full Control
Administrators - Full Control
CREATOR OWNER - Special Permission
System - Full Control
Domain Users - Read & Execute, List Contents, Read, Special Permissions.

View 2 Replies View Related

MySQL Timeout On Active Connections

Oct 21, 2009

unfortunately my server crashes a lot recently. What happens is that some application creates a MySQL connection which hangs and then MySQL gets overloaded and takes the whole server down.

My question:

1. How do I configure MySQL to time out even on active connections ? I.e. after 30 seconds kill the process no matter if it is still active or not. Is that possible ?

2. How do I exclude the root user from that?

View 1 Replies View Related

Do You Test Server Before Making It Active

Aug 4, 2009

Let's say you ordered new server,do you make active same moment(install httpd server and all other components)or you running test before like memory and hardware test? If yes,which programs you would recommend to test fully hardware?

View 2 Replies View Related

Considering A New Host For Active Forum & WP Site.

Sep 9, 2008

I've been with Bluehost for over three years. I've really not had any big problems with them. But I've learned that people usually don't have problems with hosts unless they actually have a website that has good traffic.

Well, as my main site has grown, I think I'm outgrowing my host.

I have a forum (SMF) with over 1500 members and close to 80K posts. It's got a good core of very active members. Doing well. The main part of the site is on WP platform.

Friday, I try to bring up the forum and POOF! It's not there. Just a blank screen. No error, no nothing. Call support and they have no clue, but the support guy comments out a line in one of my SMF files and the site comes back up. Don't ask me how he knew to comment out that line or anything.

Things go fine for a few days, then yesterday P.M. I start getting "exceeding CPU" errors and then a 500 error. Keep in mind, I've done nothing to my site in these days to cause any of this or any changes to even make me suspect anything.

Called support two times last night and finally was told to submit a ticket to their scripting department. I could see the PHP errors in my CP and I knew it was something wrong on their end, but no one could figure it out. Well, I haven't heard from support but my site's back up today.

I'm just thinking it may be time to consider switching. Not sure I really want to deal with that, but I'm having more errors and glitches with them in the last year.

I know HostGator gets mostly great reviews. Will my experience there be any different though?

I know lots of people here ask for web host suggestions. I could really use some guidance, not just in companies, but the things I need to keep in mind about my site in particular that would help me choose one.

View 24 Replies View Related

Mdadm: Raid Active Partition

Oct 22, 2007

The server is currently live on /dev/sda and it was installed w/o raid. Now i have added a second HDD in, how do i RAID it?

It's Ubuntu 6.06

View 4 Replies View Related

Change Hostname On An Active Server

Mar 18, 2007

I currently have a server with CentOS 4x and cPanel with approximatley 100 active sites on.

I would like to change the hostname on this box, is this possible without causing any disruption to services on this machine?

Would I be correct in thinking its as simple as modifying /etc/hosts(Or doing it in cPanel) and then reactivating the cPanel License?

View 2 Replies View Related

Group Policy For Active Desktop

Nov 14, 2007

I've been trying to set an active desktop of a group of users that log into XP machines to an html webpage. So far I haven't had any luck getting the webpage to appear.

What exactly needs to be done in order for this to work correctly? The primary domain controller is running on windows 200 server.

View 0 Replies View Related

Apache Hangs When Having Lots Of ..reading.. Requests

Jan 26, 2008

A weird thing happents once on few days on my server, and it's not a regular thing or on exact time.

When I have this problem no page can be loaded in the browser, but WHM is working, i think because it's accessed by IP .

In apache status page I can see lots of ..reading.. requests which are there even for 10 - 20 seconds sometimes.

Usualy the server has 10 - 20 requests/s :

CPU Usage: u35146 s2297.05 cu2.74 cs4.5 - 6.97% CPU load
11.2 requests/sec - 83.0 kB/second - 7.4 kB/request
10 requests currently being processed, 8 idle servers

But when the ..reading.. requests appear it goes much higher like 100 to 200

11.5 requests/sec - 85.3 kB/second - 7.5 kB/request
200 requests currently being processed, 0 idle servers

after 3 minutes :

160 requests currently being processed, 30 idle servers

When I logged on to SSH I saw that there are ~150 conection from a single IP .

View 14 Replies View Related

Internal Server Error - When Reading Table

Nov 28, 2008

In the forum [url]suddenly we got Internal Server Error. Our host claims it is because of corrupted database accorind the logs:
081128 11:44:38 [ERROR] Got error 126 when reading table './lykman_clubcento/lykman11_members'
Repairing the database from cpanel didnt work. Old available backups are not available.

View 12 Replies View Related

DOS Attack Over Apache, Full Of READING Connections

Feb 5, 2007

As you can see my apache is full of Reading connections..... they are filling up my server dening legitimate users to browse trought the websites hosted there... I think this is what is happening to me:

Im using apache on RHES 3 with latest patches and kernel.

930 requests currently being processed, 6 idle servers

1-044940/40/40R 0.33340.00.060.06 ??..reading..
2-044950/55/55R 0.47330.00.110.11 ??..reading..
3-044960/35/35R 0.31330.00.050.05 ??..reading..
4-044970/38/38R 0.13210.00.090.09 ??..reading..
5-045410/40/40R 0.16360.00.130.13 ??..reading..
6-046190/28/28R 0.12110.00.030.03 ??..reading..
7-046220/34/34R 0.35320.00.100.10 ??..reading..
8-051640/34/34R 0.135100.00.300.30 ??..reading..

Also, here is the top output of the top command:

top - 12:46:21 up 10 min, 1 user, load average: 1.40, 2.03, 1.06
Tasks: 1063 total, 2 running, 1060 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.9% us, 1.6% sy, 0.0% ni, 93.1% id, 0.3% wa, 0.0% hi, 0.0% si
Mem: 2073516k total, 2001984k used, 71532k free, 42384k buffers
Swap: 2048276k total, 0k used, 2048276k free, 178096k cached

Server seems to be fine, but total tasks are always between 1060 and 1124... thats very rare too..

how to avoid this attack?

View 14 Replies View Related

Plesk 11.x / Windows :: Reading Emails From Backup

Nov 11, 2014

I had do a backup with the plesk 11.5, the backup includes sites, configuration and emails. The restore of the backup don't create all the emails and email folders. There was a way to read or convert the .msg files that exists inside the backup files? A way to convert that msg files to pst or other format that can read by an email client.

View 1 Replies View Related

Active Directory, Exchange, And Forward Mail

Oct 31, 2007

I have active directory setup. Two users are in there that have exchange mailboxes. One has been deleted, but still gets mail on occasion. So, to keep things simple, is a current user. is the one that was deleted. Can I forward mail from tim's address to bob's address without a using a distrobution list?

I usually use contacts to forward mail, but that only appears to work for external addresses, and not for internal addresses (ie,

Any ideas?

View 3 Replies View Related

Two Sessions Active At The Same Time With Same Socket Application

Sep 28, 2009

i hosted one server socket application in my dedicated server which is recving the data from different units(vehicle tracking system) through port no dedicated machine i am keeping one active session always...that means my socket application exe is opened always in an active session ie sectionA.This session is not logged off insted i used to close the rdp for keeping this session active.Based on settings if userA accessing SessionA then userB cannot able to reach the active sessionA at the same time instead new sessionB will open for userB.

now my question is

if userB also opened socket application in SessionB with same portno ,then which soket application will recive data from the units...whther the applictaion from sessionA or from SessionB?

View 2 Replies View Related

No Emails To Yahoo Mail For Active Members

Aug 12, 2008

i site me place on Active members from email .

but not send emails to yahoo server in inbox all emails send to spam or ever not send !

but for google no problem

View 1 Replies View Related

Apache :: Graceful Interrupt Active Connection

Jul 2, 2014

We are rotating apache logs 4 times during the day, we are using apache graceful as part of the script so it will generate all new log files.But I recently found it is killing/closing the active connection for ex: If I am downloading a large file, it fails during the apache graceful restart.

View 4 Replies View Related

Exim Logs :: Permission Denied: While Opening Or Reading

Jun 12, 2008

I have problem with exim in my dedicated. All days I have more tham 1000 messages in queue. I delete frozen messages and run exim -v -q and after delete all message. Next day I have more that 1000 message in queue.

I see that some local emails was not delivered. So I saw in exim log errors messages as:

Message 1K5SHE-0001LE-LS is not frozen
delivering 1K5SHE-0001LE-LS
== R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/levarte/mail/

But I have not any file called "/home/levarte/mail/"

What means this error message?

View 3 Replies View Related

Linux Apache Folder Not Reading Without Trailing Slash

Jan 4, 2007

I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:

if I goto to [url]

This does not work, it times out. But if I goto:


With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:


<VirtualHost *>

DirectoryIndex index.php index.html index.htm index.shtml

<Directory "/var/www/html/">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch

AllowOverride none

# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.

<Directory "/">
Options FollowSymLinks

AllowOverride None

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from all

Order allow,deny

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from all

Order allow,deny

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all

Order allow,deny

View 13 Replies View Related

Plesk 12.x / Linux :: Reading Data From FastCGI Server

Jul 20, 2014

I have this System Debain 7.x Whyzee, 64 Bit Version, 16 GB Ram with 8 x 3.2 GHZ. I have update plesk von version 11 to version 12 he say any failure in error.logs by costumer

[Sat Jul 19 20:58:23 2014] [warn] [client xx.xx.xx.xx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jul 19 20:58:23 2014] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php

View 1 Replies View Related

Plesk Automation :: Changing IPs Marks TXT Records Active Again

Apr 16, 2015

It seems that changing the IP of a web site (which I can't get to work) reactivates records from the default DNS template that have been deactivated...for example the default TXT records are activated, so now the domain may have two SPF records, only one of which is correct. Having multiple A or other records is potentially worse, if, say, "mail." now points to the wrong server.

View 2 Replies View Related

Plesk 11.x / Linux :: Active Sessions Unknown User / IP?

Aug 28, 2014

i saw very often in the active sessions site following line:

Username Empty IP empty Date Nov 30, -0001 12:00 AM Idle time 00:45:39

What is that and how can is stop this or get it fixed ?

View 1 Replies View Related

Copyrights 2005-15, All rights reserved