Pcfg_openfile: Unable To Check Htaccess File, Ensure It Is Readable
Apr 16, 2008
Apache error log for a subdomain
[Thu Apr 17 00:02:24 2008] [crit] [client 69.113.17.156] (13)Permission denied: /home/user/public_html/subdir/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
However, there is no htaccess file in that directory anyway
/home/user/public_html/subdir
Server is Centos 5 / Cpanel
View 5 Replies
ADVERTISEMENT
Feb 14, 2008
i run one bad command :-(
chmod -R 644 /
and this command changes all permision in root server
have any away for fixed all permision in centos?
because all site take error
i use of cpanel
View 14 Replies
View Related
Aug 4, 2008
I use tripwire for a long time on my FreeBSD servers
one thing that's bugging me is that it takes like 20 minutes to check the system with the default config:
so I'd like to know:
1) is there currently some other tool that does tripwire job better?
2) anyone has a list of "probably changed files when a server is hacked", or something like that?
I mean, I'll be happy if tests can take 2 minutes instead of 20 and I detect intrusion 99% of the times instead of 99,9%
so "key files/dirs" would probably be enough instead of checking a lot of dirs with recursion
View 9 Replies
View Related
Jan 15, 2008
Are the following file from Cpanel? Cpanel just update itself (set to automatic update to stable release) and got the following file integrity check.
/usr/bin/chattr: FAILED
/usr/bin/encode_keychange: FAILED
/usr/bin/gdb: FAILED
/usr/bin/gdbserver: FAILED
/usr/bin/gdbtui: FAILED
/usr/bin/lsattr: FAILED
/usr/bin/snmpbulkget: FAILED
/usr/bin/snmpbulkwalk: FAILED
/usr/bin/snmpdelta: FAILED
/usr/bin/snmpdf: FAILED
/usr/bin/snmpget: FAILED
/usr/bin/snmpgetnext: FAILED
/usr/bin/snmpinform: FAILED
/usr/bin/snmpnetstat: FAILED
/usr/bin/snmpset: FAILED
/usr/bin/snmpstatus: FAILED
/usr/bin/snmptable: FAILED
/usr/bin/snmptest: FAILED
/usr/bin/snmptranslate: FAILED
/usr/bin/snmptrap: FAILED
/usr/bin/snmpusm: FAILED
/usr/bin/snmpvacm: FAILED
/usr/bin/snmpwalk: FAILED
/usr/bin/uuidgen: FAILED
/usr/bin/wbemexec: FAILED
/usr/bin/xmlcatalog: FAILED
/usr/bin/xmllint: FAILED
/usr/sbin/ext2online: FAILED
/usr/sbin/filefrag: FAILED
/usr/sbin/mklost+found: FAILED
/usr/sbin/snmpd: FAILED
/sbin/badblocks: FAILED
/sbin/blkid: FAILED
/sbin/debugfs: FAILED
/sbin/dumpe2fs: FAILED
/sbin/e2fsck: FAILED
/sbin/e2image: FAILED
/sbin/e2label: FAILED
/sbin/findfs: FAILED
/sbin/fsck: FAILED
/sbin/fsck.ext2: FAILED
/sbin/fsck.ext3: FAILED
/sbin/logsave: FAILED
/sbin/mke2fs: FAILED
/sbin/mkfs.ext2: FAILED
/sbin/mkfs.ext3: FAILED
/sbin/resize2fs: FAILED
/sbin/tune2fs: FAILED
View 5 Replies
View Related
Jul 4, 2007
i got this message from my provider after asking for a reboot:
Quote:
Your server had an EXT3 FS error scrolling across the screen.
I rebooted and the server mounted clean, but you may end up needing a file system check (FSCK).
I want to do that myself so i can schedule the downtime after midnight, what are the procedures to fix this erros to avoid the need to reboot the server often
am using CENTOS with cpanel & whm
View 2 Replies
View Related
Oct 4, 2008
There is a .htaccess~ file in the root directory of my server. .htaccess is also in that place. But what is the purpose of that .htaccess~ file?
View 3 Replies
View Related
Sep 11, 2006
I'm wondering why sometimes my htaccess files don't seem to work, especially when contained within subdirectories. I've got two problematic situations:
(1) I've got a mod rewrite that supposedly works. I put it in a subdirectory like /dbase/stuff/ but the script ignores it like it just isn't there. Permissions don't change anything and they are currently set to 644. It's very simple and only contains the following code: ....
View 0 Replies
View Related
Oct 25, 2009
I manage a high traffic website on one of my dedicated servers. It currently serves around 2 million uniques/mo.
In time, due to page changes, around 200 important URIs got a redirect [L,R=301] in the main .htaccess file that's sitting on the root directory.
Redirects are in the form of : person/J/James_Blake_2000/ --> /user/James_Blake/
Thus, the .htaccess file has reached well above 200 lines.
I would like to kindly ask for advice: should I limit the dimension of this htaccess file ?
How do you guys treat these permanent redirects?
View 7 Replies
View Related
Aug 17, 2008
I'm on a shared FreeBSD server, running Apache with Drupal, and vBulletin.
I had to create a local php.ini file in my public_html folder for Drupal, and another in my forum folder for vBulletin. Now my question is, what should I set the permissions of these files to? Also, what should I set .htaccess permissions to as well?
I'd like to keep them invisible to the public. But, I don't want any problems with Drupal, or vBulletin ether.
I'm used to using Linux and I know how permissions work on a desktop. I just don't know what they do when used on a server. I'm guessing 640, but I'd like to make sure before I change anything.
View 3 Replies
View Related
Jan 31, 2013
what is .htaccess file? use of this file?
View 6 Replies
View Related
Mar 14, 2008
I have a centos server & whenever I reboot it, it goes into File System check and takes about 1 hr to turn online.
The irony is, I reboot the server only when the load goes high (esp when traffic is high).. And the server is down for long times when traffic is high.
The server config is pretty good, but it shows these problems once in 15-20 days.
View 3 Replies
View Related
Nov 26, 2006
I'm trying to redirect from a filename that contains spaces using .htaccess
for example, I want to redirect /test 2.html to http://example.com
I've tried:
ReDirect /test 2.html http://example.com
ReDirect /test 2.html http://example.com
ReDirect /"test 2".html http://example.com
ReDirect /'test 2'.html http://example.com
ReDirect /test%202.html http://example.com
ReDirect /"test 2.html" http://example.com
ReDirect /'test 2.html' http://example.com
And a few others. I can't seem to get the syntax right, and always end up getting an internal server error message. Anyone have any ideas?
View 6 Replies
View Related
Feb 11, 2008
I upload a .htaccess file in FTP and it disappears, i checked with SHELL file is there but cant see in ftp ,
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
Jan 27, 2013
So, I would like my htaccess file to check if a file exists and if it doesn't then redirect to another file. How would I go about doing this?
View 5 Replies
View Related
Apr 15, 2013
I have learned some bits of regular expressions for simple scripting, writing a .htaccess file is, uh, syntaxically daunting.
THE CASE :
The URLs of my site used to be of the form [URL] ... . They are now of the form [URL]......
I am trying to perma-redirect (301) the old format (affiche_fiche.php) to the new format (fiche.php) using a .htaccess.
So far all I have achieved is a hatred of punctuation signs. What's the correct syntax to have a .htaccess that does the redirect ?
THE CONTEXT : The format change took place more than six months ago, but the Google Webmaster Tools still spits 450 problems a day with 404s on URLs using the old format. I had assumed that these would just fade away, but they don't. So I guess that 301'ing them is cleaner. Or would be, if I understood the syntax.
View 7 Replies
View Related
Feb 20, 2014
I want to upload the custom 404 error page and .htaccess file to my website but .htaccess is not working on my web server. I have use the correct file name and try it many time but no result I have found. My web server is Microsoft IIS 7.5
View 2 Replies
View Related
Aug 10, 2008
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.
View 3 Replies
View Related
Feb 18, 2007
I have download manager script that I use for my customers to download products right after the purchase.
Script generates download link that looks like this:
http://www.yourwebsite.com/download/...582921B&p=1840 (where 2YY6582921B is receipt number that is different with each purchase).
All products are placed in one folder. This folder can not be seen in above download url, but can be accessed thru browser and files can be downloaded that way without paying for them.
Can I use .htaccess and if yes how, to protect all product files the way that they can not be accessed directly by visiting url thru browser (in case somebody will find the correct url), they should be allowed for access only for my download manager script.
View 3 Replies
View Related
Jul 1, 2008
I just want to use wget command to transfer data from a shared host to dedicated server.Anybody knows how to set wget to download the .htaccess file and keep the file/directory's permission the same as they used to be on the old server?
I only knows these:wget -b -c -r -l0 -np -nH -t0
View 5 Replies
View Related
Mar 16, 2013
In my personal website at URL.... I have the top like 'index.php?pg=profile', 'index.php?pg=home' or 'index.php' (without any querystring), 'index.php?pg=diary' etc. I am looking to see if I can have .htaccess file which can make me create links like
index.php/
index.php
index.php/home
index.php/profile
index.php/diary
write an .htaccess for the same?
View 1 Replies
View Related
Jun 21, 2014
I would like to deny access to .log
View 1 Replies
View Related
Jun 14, 2014
I want to select a specific file by its path using .htaccess to allow access to it.
View 1 Replies
View Related
Oct 8, 2012
I was trying to set up archive-my-tweets [URL] .... and I seem to have gotten stuck with a 403 error. When I remove the .htaccess file the 403 goes away but so do the rewrite rules so that's a problem.
You'll see the contained .htaccess file that's included in the project.
Basically for now I'm just trying to run this on my mac. I have set up the files in a subdirectory of my personal web server. The personal web server is working fine--but when I go to the /tweets directory I get the 403.
View 8 Replies
View Related
Jun 1, 2009
MY VPS IS DOWN.
i have this error on concole on hypervm
enter into CT 1820 failed
Unable to open pty: No such file or directory
View 8 Replies
View Related
Jun 20, 2008
I have following error when try to login in my vps, how can resolve this issue?
Code:
Last login: Thu Jun 19 21:00:43 2008 from xxx.xxx.xxx.xxx
ALERT! You are entering a secured area! Your IP and login information
have been recorded. System administration has been notified.
This system is restricted to authorized access only. All activities on
this system are recorded and logged. Unauthorized access will be fully
investigated and reported to the appropriate law enforcement agencies.
enter into VE 270 failed
Unable to open pty: No such file or directory.
View 3 Replies
View Related
Sep 14, 2007
I am not able to change the attribute of a file using the command chattr. Please see the output below.
root@server [~]# lsattr /etc/exim.conf
----ia------- /etc/exim.conf
root@server [~]# chattr -ai /etc/exim.conf
root@server [~]# lsattr /etc/exim.conf
----ia------- /etc/exim.conf
In fact, I can change the attributes for all the other files.
I noticed that attribute of /etc is I
root@server [~]# lsattr -d /etc
----------I-- /etc
View 3 Replies
View Related
Mar 26, 2014
I added the following to my cpanel .htaccess file on my hosting account:
<FilesMatch ".pdf$">header set x-robots-tag: noindex
</FilesMatch>
This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?
View 4 Replies
View Related
Jan 17, 2014
I created a FTP account with vsftp and files uploaded are not readable via www-data
View 1 Replies
View Related
Jun 25, 2008
I have PSM and i just found out that even though they initiated my server they dont support GD on the initially installed apache 2.
I really need a simple solution like GD to create simple thumbnails about 4-5 times per day.
So PSM offered to downgrade the server to apache 1.X, i'm not sure this is right and needed to be done just to get simple GD functions.
I'm with fairly limited server management skills, thats why i have psm.
So i googled this topic and found out i can use Cpanel's builtin apache builder to rebuild the same web server with GD,
I got this error:
file /etc/fonts/conf.d/30-aliases-fedora.conf from install of fontconfig-2.4.1-7.el5 conflicts with file from package fontconfig-2.4.1-6.el5
Error Summary
-------------
Could not ensure pkglist 'zlib1-devel, expat-devel, gettext, automake19, libstdc++.x86_64, libpng-devel, libopenssl0-dev, expat, openssl, gcc-c++, glibc-devel, libpng-dev, zlib-devel, zlib, bison, autoconf261, gmake, libXpm, libjpeg-devel, openssl-devel, automake, coreutils, libtool-libltdl-devel, libopenssl0, openssl-dev, libtool, patch, libz-devel, libltdl3-devel, libltdl, libjpeg-dev, libopenssl0.9.7-static-devel, pam-dev, libtool-ltdl-devel, libopenssl0.9.7-devel, libltdl-devel, fileutils, libXpm-devel, sed, libXpm-dev, lsof, krb5-dev, flex, glibc-dev, expat-dev, krb5-devel, libstdc++-devel.x64_64, make, libstdc++-dev.x86_64, libX11-devel, xorg-x11-devel, libtool-ltdl, libssl-dev, gd, pam-devel, cpp, xorg-x11-dev, gcc, libopenssl0-devel, ssl-dev, lex, autoconf'
Please visit [url]for help with this error.!
Restoring original working apache!
my heart went down to my pants, but the original web server was restored and working as usual...
I simply don't know what to do now, since this seems like a too complicated issue for a server newbie to fix, into getting GD to work with the current server would be great!
View 13 Replies
View Related