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 decided to disable Telnet in my server. I get an Article ::
1. Login to your server through SSH and su to root. 2. Type pico /etc/xinetd.d/telnet 3. Look for the line: disable = no and replace with disable = yes 4. Now restart the inetd service: /etc/rc.d/init.d/xinetd restart 5. Turn off it through chkconfig as well because it can still start through that. /sbin/chkconfig telnet off 6. Scan your server to ensure port 23 is closed. nmap -sT -O localhost
Also run ps -aux | grep telnet and if you find anything other than "grep telnet" as result kill the process.
But /etc/xinetd.d/telnet doesn't exist in my server.
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.
I am using a flash media player on one of my domains that streams music. The flash player would be like domain.com/music
The mp3 files are located in domain.com/music/mp3
The flash player just reads the title of the song and displays it in the media player.
I have used htaccess already to disable indexing, but the file name that shows on the media player is the exact name of the mp3, so I'm pretty sure people will be able to easily figure this out and start downloading our music.
What else can I add to htaccess to allow localhost access to the music, to stream with the flash player, but wont allow downloading of the mp3s.
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 kept getting the "friendly error" below even though i'd disabled it on the client browser (this prove that my client browser is not the problem). i purposely coded a simple script wrongly to get the detail error, but to no avail. I believe it has to do with the server setting.
Can you advise if there's any setting/configuration in the server that might cause this? Without the detail error, it will be impossible for me to debug what is wrong with my asp script.
Some of the stuffs that i'd checked on server. 1) The ISS has been set to send detail errors.
2) It is recognizing the .asp extension (approve) - else, the asp page wouldnt even work.
Been debugging this for few nights already, any help are very much appreciated.
The error example: ----------------------------------------------------- Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
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?
As posted in a previous thread I noted how I have been hosting with GeekStorage. After a little bit of investigation I found that a total of 593 (possibly more) website where being hosted on the same server as mine. I'm not sure if this is overselling but because I'm new to all this but I'm pretty sure it is.
Now, I'm looking on switching from GeekStorage to someone who doesn't oversell. I would be fine with 10-20GB of storage and >150GB bandwidth. Budget is 5-10$ a month.
so for over 3 weeks now pc-core.net had some problems with their servers and my accounts were just lost and no one answers my support tickets they just erase them, they disabled my account to support so i can only submit support tickets and click the link on the email.
they told me to email cshelpdesk.com to get my account moved to a new server and cshelpdesk is just telling me im SOL. they dont have access to the server i was at and basically to F off.
is there anything i can do? im basically just being ignored and they dont even have a number to them.