Apache is throwing out a 404 error for a directory that I know for a fact exists (images). It gives out the error when browsing the directory or when accessing any file contained in it.
I have looked for .htaccess issues, redirects, changing permissions and everything else I can think of.
Does anybody have a clue why this might be happening? If I create any other directory then this problem does not happen.
I was CHMODdin some directories and suddenly my FTP program says: Directory does not exist. When I refresh indeed the dir is gone, the site is not accesible anymore.
rkhunter -c output: Default logfile will be used (/var/log/rkhunter.log). Default temporary directory will be used (/usr/local/rkhunter/lib/rkhunter/tmp). Default database directory will be used (/usr/local/rkhunter/lib/rkhunter/db). The internationalisation directory does not exist: /usr/local/rkhunter/lib/rkhunter/db/i18n Centos
I have moved my sites from old server with Apache 1.3 to new one with Apache 2.2.4. Since that time, the error log is full of these lines:
Code: [Wed Jul 04 05:36:32 2007] [error] [client 212.47.9.194] File does not exist: /home/domain/public_html/russia [Wed Jul 04 05:36:39 2007] [error] [client 212.47.9.194] File does not exist: /home/domain/public_html/russia [Wed Jul 04 05:36:45 2007] [error] [client 213.192.18.2] File does not exist: /home/domain/public_html/italy [Wed Jul 04 05:36:57 2007] [error] [client 83.8.104.181] File does not exist: /home/domain/public_html/mexico The access logs show even more accesses, so sometimes the same page is ok, sometimes it is logged here. The strange thing is that these files (pages) exist! They are accessible through the browser without any problem.
Do you have any idea where could be the problem? It would helped me lot, I am unable to find any real problem now, when error log is full of these.
My OS is Ubuntu 6.06. I use mod_rewrite through .htaccess. I can provide list of apache modules, if it helps.
Code: [Wed May 23 15:58:24 2007] [error] [client ::1] File does not exist: /htdocs [Wed May 23 15:58:25 2007] [error] [client ::1] File does not exist: /htdocs [Wed May 23 15:58:26 2007] [error] [client ::1] File does not exist: /htdocs [Wed May 23 15:58:27 2007] [error] [client ::1] File does not exist: /htdocs
I'm getting a TON of these in my Apache Error log. Is this just bots? Any way to stop them?
Command:MLSD Response:150 Accepted data connection Response:226-ASCII Response:226-Options: -a -l Response:226 24 matches total Error:Connection timed out Error:Failed to retrieve directory listing
Here are my settings in the /etc/php5/apache2/php.ini file:
display_errors = On display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On error_log = /var/log/php5/error.log
However unfortunately I never see any error log being generated in the /var/log/php5/error.log file?
Also with my shared hosting site one thing which I noticed was, due to some configurations set by them, the error.log used to generate in the folder where the error occured. This is a cool thing which they used to do, but I just dont understand how did they do that.
I assume they are file requests made from ads on the site.
Right now I've just added those directories and files to appease the error logs, but can I fake their existence somehow without having to clutter up my file structure?
I seem to have an error with backing up to my personal FTP repository. I have only just noticed the issue, but i believe it originated when I upgraded Plesk Panel 11 to Plesk Panel 12. I am currently running version 12.0.18 on Cent OS 6.5.
Note whether i check the "Use passive mode" option makes no difference to my problem.Below is what I get from the panel.log under /usr/local/psa/admin/logs
There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.
I want to move the entire contents of a directory tree to another directory.
So for example we may have a directory with 15 directories inside, each directory contains files itself. I want to copy all the files from the directory tree into another directory located somewhere else one the file system. I want only the "files" to end up in the other directory and not the file structure too.
I was thinking of putting together a DB of all the IPs I block due to spam, hackers, known proxies etc... this would help cut down on malicious use of services such as spamming forums, if I catch them once, they would not have chance to spam up my other forums if each forum checks the same block list. I could also auto block proxies by having it query up online proxy lists.
But before I reinvent the wheel, does such service online already exist? Kinda like RBL, but for web services. So you can basically block IPs off your site before they get used maliciously.
To be even more advanced some special port scanners could go around scan networks for infected machines and block those too.
How it would work:
Site A has a spammer from IP 1.2.3.4 and submits it to the block service. Spammer then goes on site B to try and spam that forum, but that IP is already blocked because the owner of site A submitted it to the list and site B checks against that list.