Guys, If you face semget error while restarting httpd. Please use following command. ipcs -s | grep nobody | perl -e ‘while () {@a=split(/\s+/); print `ipcrm sem $a[1]`}’ Then restart Apache service /scripts/restartsrv httpd It will help you to resolve the error.
See MoreTag: $1 web hosting
Warning: main(): open_basedir restriction in effect.
Are you getting following error in apache error logs? Warning: main(): open_basedir restriction in effect. That means php open_basedir protection is turned on in the server. You need to turn it off by making an “exception” for this. To make the exception, log in to WHM, click “Tweak Security”, then click “configure” below “Php open_basedir […]
See MoreCustomize Error documents
How can we customize Error document with .htaccess ? Just add following in your doc root to take the error page from within errors folder in DocumentRoot. ErrorDocument 400 /errors/badrequest.html ErrorDocument 401 /errors/authreqd.html ErrorDocument 403 /errors/forbid.html ErrorDocument 404 /errors/notfound.html ErrorDocument 500 /errors/serverr.html Then check it.
See More