You can use the DirectoryIndex directive in an .htaccess file to specify a custom file or files that the web server looks for when a visitor requests a directory. To enable the DirectoryIndex directive, use a text editor to modify the .htaccess file as follows. Replace filename with the file that you want to display whenever a user requests the directory: DirectoryIndex filename You can also specify multiple filenames, and the web server will search for each file until it finds a match. Consider this example directive: DirectoryIndex index.php index.html index.htm
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Showing posts with label web application. Show all posts
Showing posts with label web application. Show all posts
Thursday, 9 October 2014
How to change the default directory index page using an .htaccess file?
How to enable and disable directory index listings using an .htaccess file?
Enable directory index listings In some cases, however, you may want to enable index listings for a directory. To do this, use a text editor to add the following line to the .htaccess file: Options +Indexes This directive enables standard indexing, where the index listing shows only the filenames. You can also enable “fancy” indexing, where the index listing shows filenames, their filesizes, and when they were last modified. To do this, add the following line to the .htaccess file: IndexOptions +FancyIndexing
How to protect your file content using htaccess?
# Prevent Apache from serving .htaccess files: <FilesMatch "^\.htaccess"> Order allow,deny Deny from all </FilesMatch>
Wednesday, 6 August 2014
Facebook embed your website
Instead, I would try this site, iframehost, to install your Iframe and embed your blog. Log in to Facebook. Go to this page. Click “install page tab.” Choose the business page to which you want to embed your blog. Click “authorize the tab application.” In the bottom left-hand corner of the text box that appears, change the drop down menu to “only me.” Beside “page source” click on “URL” and enter the URL you want to embed. Change the tab name and image. You will also be able to change these later. Click “Save Settings” and then allow the application to access your business page. Go to your business page and check that your tab is working appropriately. Ref: http://writerswin.com/new-options-to-embed-your-website-on-facebook/
Monday, 7 April 2014
HTML codes to put currency characters on your Web page
Display | Friendly Code | Numerical Code | Hex Code | Description |
---|---|---|---|---|
र | ₹ | ₹ | ₹ | Indian Currency Symbol |
¤ | ¤ | ¤ | ¤ | Generic Currency Symbol |
$ | $ | $ | $ | Dollar Sign |
¢ | ¢ | ¢ | ¢ | Cent Sign |
£ | £ | £ | £ | Pound Sterling |
¥ | ¥ | ¥ | ¤ | Yen Symbol |
? | ₣ | ₣ | Franc Sign | |
? | ₤ | ₤ | Lira Symbol | |
? | ₧ | ₧ | Peseta Sign | |
€ | € | € | € | Euro Symbol |
% | % | % | % | Percent |
‰ | ‰ | ‰ | Per Thousand |
Subscribe to:
Posts (Atom)