Home / Tag Archives: directory

Tag Archives: directory

April, 2010

  • 1 April

    To chmod or not to chmod

    When installing scripts on a server, there is a tendency of both developers (in their instructions) and users to be overly generous in dishing out file permissions. In Linux, file permissions can be manipulated with the “chmod” command. For example, a script may require write access to a temporary directory, …

March, 2010

  • 24 March

    Forcing a browser to prompt to save certain files

    Question: I am distributing sensitive forms to my clients and want to make sure they download them rather than opening them in their browser. Is there a way to force the web server to prompt them for download rather than using a browser plugin? Answer: Yes, using .htaccess you can …

January, 2010

  • 22 January

    Apache's DocumentRoot directive

    Apache HTTP Server gives you the flexibility to decide where you want to store the web-accessible files for your websites. Most operating systems have their own unique directory structure for their default web server installations, but even those can be changed. The Apache default document root is /usr/local/apache/htdocs. To change …

October, 2009

  • 29 October

    What are symbolic links in Linux?

    Question: What are symbolic links in Linux? Answer: Linux has a convenient feature that allows you to link a virtual file to a real one. For example, if you have a directory called “images” and you also want one called “photos” to point to the same place, you need to …