Disabling directory browsing to prevent files from being displayed .htaccess apache webserver hosts

Post Thumbnail of Disabling directory browsing to prevent files from being displayed .htaccess apache webserver hosts
 Apache       

In some cases for a better security or even by just your intention you may want to prevent files from being displayed for the public on your website where there is no index.php o index.html
To do so on Apache Webserver where you have root access just copy and paste the …

1 January 2012  No comments

How to change Linux Centos Hostname

Post Thumbnail of How to change Linux Centos Hostname
 Centos       

There are two ways to change your Centos Linux Server HostNAme
first is graphical and requires you to have setup installed so that you will just only run the setup command
edit devices and
The Seccond is to
nano /etc/sysconfig/network
and edit the line contains the hostname and equal it to any FDQL you are …

24 December 2011  No comments

How to fix Sorry, that domain is already setup (remove it from httpd.conf?) on CPanel

Post Thumbnail of How to fix Sorry, that domain is already setup (remove it from httpd.conf?) on CPanel
 cpanel       

Some times there may arise some problem in adding a domain using WHM Creade account function and recive this error message that indicates the domain i still in virtualhost in apache configuration httpd.conf
this may have many reasons that mostly is because of
1-that domain is added before and is the primary …

24 December 2011  No comments

how to fix mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php5, referer:

Post Thumbnail of  how to fix mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5, referer:
 Apache       

solution was changing the apache directive to the following
MaxRequestsPerProcess 1000
DefaultMaxClassProcessCount 120
IdleTimeout 60
MaxProcessCount 2000
IPCCommTimeout 40
IPCConnectTimeout 10
MaxRequestLen 10240000

7 November 2011  No comments

How to solve the Error 1327. Invalid Drive: G:\ with windows 7

Post Thumbnail of How to solve the Error 1327. Invalid Drive: G:\ with windows 7
 windows,Windows Vista       

Today I downloaded the camtasia studio from the tech smith company to capture the screen of my windows
but after I downlaoded the cracked versionĀ  with serials from rapidshare even though one of them had a trojan injected into it the other versions didn’t worked for me also and I lost …

5 November 2011  No comments

resolve gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory issue directadmin

Post Thumbnail of resolve gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory issue directadmin
 internet       

to resolve this issue with directadmin
gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory
just
cd /usr/lib/
cp /usr/lib/libmysqlclient.so mysql/
cp /usr/lib/libmysqlclient.so.15 mysql/
cp /usr/lib/libmysqlclient.so.15.0.0 mysql/
cp /usr/lib/libmysqlclient_r.so mysql/
cp /usr/lib/libmysqlclient_r.so.15 mysql/
cp libmysqlclient_r.so.15.0.0 mysql/

24 August 2011  No comments

How to fix the problem cause the SQL Server 2005 unable to sart because of Log file fnphysic_pnu_log.LDF error

Post Thumbnail of How to fix the problem cause the SQL Server 2005 unable to sart because of Log file fnphysic_pnu_log.LDF error

Hi have a windows 2008 enterprise installation with plesk control panel wich has had all of the components installaed by plesk that one of them is SQL server 2005
LAst Day I reboot the server and after booting the windows I noticed that the SQL server 2005 cant start.I attempted to …

22 July 2011  2 comments

fixing warning C4244: ‘argument’ : conversion from ‘time_t’ to ‘unsigned int’, possible loss of data

Post Thumbnail of fixing warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data

I had the code bellow returing this error
warning C4244: ‘argument’ : conversion from ‘time_t’ to ‘unsigned int’, possible loss of data
class quiz {
    public:
        int a,b;
public:
    int  Crandom(){
            srand(time(0));
            return rand() % 6 + …

22 June 2011  No comments

Compile and enable soap on php with DirectAdmin Control Panel Custombuild

Post Thumbnail of Compile and enable soap on php with DirectAdmin Control Panel Custombuild

I will provide the instruction for compiling php with soap in a very easy steps
first goto the custombuild directofy by the following command
cd /usr/local/directadmin/custombuild
for addmin soap to php in directadmin control panle server first you should check where the configuration file that make changes on it wil take effect
for …

18 June 2011  No comments

debugging this issue with php Fatal error: Allowed memory size of 553648128 bytes exhausted (tried to allocate 261900 bytes) in

Post Thumbnail of debugging this issue with php Fatal error: Allowed memory size of 553648128 bytes exhausted (tried to allocate 261900 bytes) in
 PHP       

I was developing a project with php
I had some picture items which I wanted to delete them using object oriented model
an object instance of a picture would call a destroy() method to delete that picture from both the database table and from the file directory
but I dont know I couldn’t …

4 June 2011  No comments
 Page 1 of 15  1  2  3  4  5 » ...  Last » 
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone