Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, a full listing of all the files in that directory will be shown, which could be a security risk for your site. To prevent against this (without creating lots of new 'index' files), you can enter a command into your .htaccess file to stop the directory list from being shown: Options -Indexes.
- 0 Utilizadores acharam útil
Artigos Relacionados
                    
                         What is the path to public html in php?
                    
                                        
                            The path to public html is: home/$cpusername/public_html/
                    
                         Error: register_globals is disabled in your PHP configuration
                    
                                        
                            If you installed a new script and are getting the 500 error trying to load the page please see...
                    
                         Can I set 'always populate raw post data' in the php.ini file?
                    
                                        
                            By default, this feature is off. You can email support (at) gretor.com and request this feature...
                    
                         Do I get a Site Seal when I purchase an SSL Certificate?
                    
                                        
                            Yes you do receive a Site Seal when you purchase an SSL Certificate.
                    
                         What is the meaning of owner, group, and everyone in the permissions panel?
                    
                                        
                    - Owner defines the permissions set for your main FTP account. - Group defines permissions valid...
