Clear file extension in browser

Hello
I am interested in how can I preview a web page without the file extension. In other words I want my users to acces my page like this: www.mydomain.com/about instead of "about.html"
Thanks!

This is normally done on the server using special rules to rewrite the URL. If your server is Apache, and your hosting company allows you to use .htaccess with mod_rewrite, you can do it yourself, but it requires knowledge of the rather complex mod_rewrite rules.
Another way to do it is to create a folder for each file, and name the file index.html or default.html, depending on the default name used by your web server. So, a file called index.html in the about folder could be accessed as http://www.example.com/about/. However, that's a very clumsy way of doing it. You end up with a lot of folders, and all your files called index.html, which is very confusing to maintain.

Similar Messages

  • I am unable to open scanned documents (with .jpg file extension) in my e-mail inbox, on the Mail app on my iPad. Please provide a clear answer. Thanks a lot.

    I am unable to open scanned documents (with .jpg file extension) in my e-mail inbox, on the Mail app on my iPad. Please provide a clear answer. Thanks a lot.

    Can you actually see that the attachment has a .jpg extension?  Some mail systems strip it off (I've seen AOL do that) which makes the attachment difficult to open.

  • Filter files by extension on browse windows

    Hi,
    in a servlet I have a form where I can upload files from the hard disk. There is the classic "Browse" button. When I click on it I can choose the file on a browsing windows.
    I want to limit the choose of the file only to pdf files.
    How can I make it to show only pdf files?
    Thanks, bye
    Carlo

    I don't think you can do this. I could be wrong, but I've never seen it done. Your Java is running on the server and what you're talking about is controlling something on the client. Anyway, if it is possible to do what you're trying to do, it wouldn't be something you do in Java.

  • File extension missing for new blog entry pages

    I have a blog and have created new entries, but I can't publish "because the file does not have a file extension." (I clicked on the publish button and also tried in the menu "Publish to Mac.com." Neither works.
    I thought whatever was necessary to connect a new entry to my blog was created automatically. I'm not even sure what a file extension is. What is it?
    In the Site Inspector I can do nothing. All possible commands are grayed out. Maybe I'm not supposed to make a hyperlink for a file.
    Thanks for any help you can give. Edify

    Will I have to clear the cache every time I want to upload new material?
    you don't have to clear the cache to upload the material, you sometimes have to clear the browser's cache to see your new page,  for the old page in the cache may prevent your browser from displaying the new page properly.
    BTW, the same is true for any visitor to your site - if you change your page frequently and find that you have to empty the cache, then any visitor to your site also will experience the same problem and should know that he/she should empty the cache if the page looks funny.

  • IPhone photo/video library glitch - wrong file extensions, name shift, lost files etc [LONG story - sorry]

    I have a 5s running 7.0.4. and my computer is running Windows 8.1.
    We had a baby and my phone filled up fast with pictures and videos, so I decided to offload them onto my PC. I connected my phone to the usb port, and directly copied from the DCIM folder to my hard drive.
    Something happened during the first attempt, and the process was interrupted. So I went into each of the sub folders, and selected all files, and started the copy process again. I told the computer to skip any existing files.
    So all the file counts matched in each folder, and I figured it was safe to start deleting from my iPhone.
    On my hard drive, I separated all the MOV files into my Videos folder. But in Windows Explorer, the thumbnail view showed several MOV files with no thumbnail - just the generic icon.
    As I sorted my photos into various folders, I also noticed a lot of generic icons instead of thumbnails for the JPGs. I started to feel concerned that my files had become corrupt during the transfer. But then I noticed a PNG file that was a few hundred megabytes. This was odd, so I added the MOV extension to it. Sure enough, it was a video with the wrong extension.
    I renamed every PNG and JPG file that had no thumbnail to add the MOV extension. Every one was a video with the wrong file extension.
    Then I went to the video folder, and all the MOV files that had the generic icon were actually JPG files.
    Well I was just happy to see that the files were not corrupt.
    One more time before I deleted things from my iPhone, I did a spot check to see that the largest videos were on my hard drive. I found a few videos that were not copied over, despite the file counts having been accurate. So I copied the videos again, and compared file sizes and date/times when there was an overwrite prompt. Most were matches, but several were the same file name with different sizes and dates.
    I didn't know what was going on, but I just wanted to get the files on my computer. So I renamed my local copy where there was a name collision, and copied the videos. I deleted the videos from my phone as I went along.
    I felt pretty confident that I had all the files copied now, so I began mass deleting my photos.
    I went to the Photos app on the phone, and watched the thousands of pictures disappear, and the glorious free space grow on my phone.
    But wait... there was still 1 video in the Photos app. I thought I had gotten all the MOV files off the phone...
    I have a photo info app installed, so I was able to see the file name of the video. I searched for that file name in the DCIM subfolders, but the folder that had that series of files (the IMG_3000-3999 files) listed the files with that particular video skipped. It was clearly still on my phone, because I could play it.
    Then I noticed it was a 45 minute long video of my baby. About 5 GB. So I figured it must be due to the file size that it wasn't visible from explorer. (Can't explain why that would be, but M$ keeps changing crap too. I never freaking know what to expect from them either.)
    After having deleted all the jpg, png and mov files from the DCIM folder, there were still about 26 files in my camera roll on the iPhone. And I could still view the video.
    I decided I wasn't concerned about the photos, I just wanted to figure out how to get the video onto my computer.
    So I selected all the photos in the photo app (skipping the 1 remaining video) and tapped the trash can.
    Poof! One item remained, and it was one of the garbage photos. My video is GONE! ^#@*&#($^@Q&%( And no, I didn't fat-finger it. I was very careful to select the correct thumbnails.
    Looking back, I know that I should have just started the entire file copy process from scratch when funny stuff started happening like mismatched file names. But I am a sleep-deprived new mom and just wasn't thinking clearly. It would be nice if I could have used my file/directory compare program to check the iPhone against my laptop, but it is not compatible with devices, only removable drives.
    And no, I don't use iTunes. I stopped using iTunes years ago when it would randomly decide to delete contacts from my phone just because they didn't exist on my computer or some sh-- like that. I have always just manually synced all my stuff and have never had an issue like this. To say I am sad to lose that video is an understatement.
    I googled "iPhone undelete" and "iPhone data recovery" and downloaded a trial for one of the likely candidates. It turned up a bunch of garbage, but not my video.
    Anyways... I am wondering if anyone else has experienced this type of scenario? Has anybody identified what could cause this to happen? I would like to avoid this in the future. (I will avoid this type of loss, because I know now what I could have done differently to be more careful. But it would be nice if I didn't have to get all neurotic about checking 60GB of photos/videos side by side each time I copy them to my computer...)
    I have seen other threads on the forum here regarding corrupted libraries and such, but I am not sure this is the same thing.
    One suspicion I have is that it might have to do with the iPhoto app being installed on the phone. I can't articulate why I think that is worth considering. But when I looked at my Video folder, I ended up with many duplicate videos, and all the duplicated videos' file names were 2 numbers apart. As if all the file names got shifted at some point. Very strange.
    Thanks for listening to my rant. If anybody has an idea, I am interested. If anybody else has lost precious memories due to this, we should talk. If it is a widespread problem, maybe we can all get together and pound down Apple's door?
    As an aside: Why am I unable to select Apple Support Community to post this question to?

    In my case number of weird things happen whenever I try to copy pictures/videos from my iPhone from direct USB...
    1. JPG files are wrongly named as MOV and vice versa.
    2. I copy only folders but in addition files with no extension are copied in the main folder, very strange.
    3. Whenever I open one of the folders, strange icons like this () start appearing which cannot be copied even.
    Unfortunately I used to delete a lot of files with wrong extensions in the past because I never new they could be fixed.
    Apple should answer this!
    Note: I am using Windows 8.1 and use a direct USB cable without iTunes to copy the media files directly from My Computer.

  • How to set default .PDF file extension for Form Downloads

    I am trying to find a way of setting the PDF file extension when I download forms.
    I author the forms under a Plus subscription and am then downloading the forms under a basic subscription Collaborator account (diffrent person)
    If I don't include .pdf as the file type when downloading a form with a unique name as the Collaborator, it downloads without a file extension.
    Remembering to continually add the pdf file extension is a pain so I'm hoping there is away of setting this as a defaulet for my 'collaborator' account ?

    Firstly, apologies for multiple posts, I received messages saying my comment hadn't posted and also checked my history before re-submitting.
    Okay, the process is
    1. Log in as the Author account and I can rename the file without having to set the extension
    2. Log in as the Collaboartor account - same PC, browser etc and it doesn't save with a default file extension; HOWEVER, I have done this whilst also being logged in on a diffrent browser as the Author
    3 I have just tried logging out as Author and only being in as the collaborator and the form downloaded with a default PDF.
    4. I had someone else log in as the collaborator from thei PC and browser whilst I was still signed inunder my author account and again they were unable to save as PDF by default
    This has me wondering if there is anything at play when you've got multiple Users?

  • Toshiba File Manager - working with custom file extensions

    Hi Developers,
       I am trying to create an App that handle a specific file extension. I impelemented the required functionality in the Application.
      When someone clicks on the file (say .xyz file) in a Third-Party file manager like AstroFileManager or ES Explorer, Android launches my application with the proper Intent ( ACTION_VIEW). How ever, if I browse to that specific directry using Toshiba File Manager, I get a message saying "There is no associated application for this file type."
     I tried several things and no dice. Does anyone know how I can register a handler for a specific extension for TFM?
    Thanks,
    Windozer

      event.target.info.<yourvariablename>

  • How to open *.doc files in my browser?

    I create a region which display documents.
    It works greate with *.pdf, *.jpg.
    I want to know is it possible to view Microsoft Word files?
    How to determine which type of files I can open in browser!
    I use FF
    Regards, Kostya!

    I think this depends on your browser settings. Try this:
    1. In your Windows Explorer open the Advanced menue
    2. Go to "Options" and click the tab "File Extensions"
    3. Find the extension .doc and click on "Advanced" button
    4. Check the check box "Open in the same Window"
    5. Confirm
    Denes Kubicek

  • Embedded Windows Media PLayer With Non-Standard File Extension

    I have embedded a windows media player in a asp.net web page, using the usual
    <object> and <embed> tags. The video is served by an ashx (http handler). When I try to play the video, I usually (but not always) get an error message telling me that the file extension (ashx) does not match the file format.
    This happens in IE (8, 9, 10, 11) and also in Firefox (latest) with the WMP plugin.
    I know that the tags (with classid, etc) are correct because the media player displays and allows me to click the 'play' button.
    The ashx returns the correct mime type (video/x-ms-wmv) and a valid file name (somevideo.wmv) in the response headers. I have tried content-disposition attachment and inline.
    I have tried urls using 'http://', 'https://', and '//' (which I prefer)
    If I put the url (including the .ashx) of the video file in the browser address bar directly, the video downloads and plays in the standalone media player.
    If I modify the object tag to use a direct path to the video file (/somewhere/somevideo.wmv), it works - but I can't use this as a solution.
    The same ashx serves up video and audio in various other formats with out any fuss - it just seems that the embedded windows media player doesn't like it.
    This has been working for several years - I think this is some new behavior, though I can't identify what has changed, other than browser updates.
    Any ideas on what could be causing this? Am I missing something simple?

    Hi,
    Tools>Internet Options>Security tab, click "Reset all zones to default"
    Advanced tab of Internet Options>uncheck "Do not save encrypted files to disk"
    f12>Networking tab, click the Start button, navigate to your page and observer the response header and content.
    To determine if you page is being rendered in a x64 host (all IE versions and WaterFox, type
    navigator.platform in the IE Developer tools Console tab,
    Post questions about html, css and scripting for website development using MSIE browsers to the IE Web Development forum... WITH a link to your website.
    Rob^_^

  • .png files open in browser even though I have set prefs for .png files to "Always ask" instead. How fo I force Firefox to save .pngs and not open in browser?

    Forefox will not download or ask me to save .png files even though I set that file extension in Prefs -> Applications dialog box to be "Always ask"
    I have to be able to donwload and save .png files and I can't do that if they load in a browser window.

    I find it odd that the browsers on the Android platform can't support this on their own. I know that Google Chrome on it's full blown version for the PC is able to do so without using the Adobe software for the embedded PDF aka using "The Adobe PDF Link Helper" . I would love to see this change especially since I prefer Firefox over other browsers.

  • How to assign file extension and custom icon to executable?

    Hi all,
    I was reading an old thread about this issue:
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=116925 
    I need to try to do this.  My application uses a custom file extension (i.e. .abc).  Upon installation I would like to:
    1.  Assign My App and custom icon to the file class (extension .abc).
    This could be done by manipluting the registry (http://msdn.microsoft.com/en-us/library/bb776856(VS.85).aspx)?  This could be a problem with Vista s unless registry operations occur during installation any changes are placed in a VirtualStore, correct?
    2.  Enable the double-clicking of .abc file type to pass the data in the file to my VI (exe). 
    According to the File Handling Guidelines of Jean-Pierre Drolet (http://www.openg.org/tiki/tiki-index.php?page=File+Handling+Guidelines) the best way to do this may be using LabVIEW as an ActiveX server.
    I know that when I build an executable (or installer?) there is the option to enable LabVIEW to act as an ActiveX server.  This much I know I need to do.
    I thought I would open this discussion again as others may be interested and there doesn't appear to be a completely clear solution available.  Please do contribute where you can.
    Cheers,
    Battler.

    battler. wrote:
    My application consists of Event Structure.
    How to register for ommand line event so that when a user double-clicks on a .abc file I can handle the opening of it?
    This needs to work (the files need to open) not only when the application is closed but also when it's already open.
    Anyone have ideas? 
    The solution to that is to implement a DDE server in your application (and add DDE entries to the registry on installation). There are still DDE functions in LabVIEW vi.lib\Platform\dde.llb but they are considered depreciated and have been removed from the palette, also because Microsoft is trying to tell everyone that DDE is depreciated and sort of unsupported too. But it is still the mechanisme to pass actions from the shell to running applications.
    I hesitate to send you over to lavag.org where there have been some discussions about this years ago. If you go there you would do good to employ a friendly attitude. That board is run all by enthusiasts and idealists and they are all great folks but react not very friendly to people with an attitude.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • RoboHelp 9 file extensions

    I have done some searching in the forums and in the Online Help and cannot find the list of file extensions and what they mean in RoboHelp. Can anyone tell me where (or if) this list exists?
    I'll bet you are wondering why I need them, right?
    Okay, well my company is currently converting all of our applicatoins from VB6 to DotNet.  We have a huge application that is being converted in pieces over the following year.  Using our Subversion repository, I have created a complete copy of the project in which to work.  At the same time, we are changing the online help from .chm to WebHelp.  My problem is that as the conversion takes place, they are also making changes to the original VB6 project which will need updates in in online help.  So, I need to make the changes to the VB6 project in the DotNet project and merget only those topics (using Subversion) to the original VB6 online help project.  I need to know which files to bring along with the updated or newly created topic. Make sense?
    Thanks in advance for any help you provide!

    Hi Mary
    Robohelp extensions
    .ali - Alias file - Used with Context Sensitive help - Can be opened with Notepad
    .BRS - Stores Browse Sequences - Can be opened with Notepad
    .cpd - Cache Project Database - Can be opened with Microsoft Access
    .glo - Stores Glossary - Can be opened with Notepad
    .hhc - Stores TOC - Can be opened with Notepad
    .hhk - Stores Index - Can be opened with Notepad
    .hhp - HTML Help (.CHM) project file - Can be opened with Notepad
    .ign - Stores Ignore list - Can be opened with Notepad
    .ldb - Lock Database file used with .CPD
    .phr - Stores Phrase List - Can be opened with Notepad
    .ppf - Stores ancillary project information - Can be opened with Notepad
    .pss - Stores ancillary project information - Can be opened with Notepad
    .stp - Stores Stop List - Can be opened with Notepad
    .syn - Stores Synonym List - Can be opened with Notepad
    .xpj - Main Project Datatbase file with XML data - Can be opened with Notepad
    Hope it helps
    Thanks
    VJ

  • How do I set Firefox to automatically view text files in my browser window? Sometimes FF insists on downloading them instead.

    I use my browser to monitor real time data streams (oceanography) and want to be able to view processing log files directly in my browser window. I have symbolic links from these logs (*.log) to my web server's document directory, using .txt as a file extension for the link (e.g. procdir/argos.m.log -> webdocs/argos_m_log.txt).
    Some of these files will display in the browser window, but sometimes FF insists on downloading them instead. The only difference I can see betweens ones that work and those that don't (looking at the original log files) is that the "file" command shows some to be 'ASCII English text' and some (the ones that won't display) to be 'data'. I assume this means there's one or more unprintable characters in the source file - but I'd still like to view these directly in my browser window.

    Prefix the link with the view-source: protocol (don't put a space between the protocol and the http link).
    *view-source:https://support.mozilla.org/en-US/questions/910776

  • ASPX files in web browser

    In older versions of Droid I could view webpages that had ASPX files extensions. With the last update you can no longer look at these in the browser. Last time I was able to view was on 2.0.  Can someone help fix settings so in web browsing we can view websites with the ASPX extensions. 

    Listed below is the process to open ASPX file..
    Open an Internet browser, such as Internet Explorer or Mozilla Firefox. You can do this by clicking on the shortcut from the desktop, or by opening it from the "Start" menu at the lower left of the screen.
    Click on the "File" menu. It will be located at the top left of the Internet browser's main window.
    Select "Open File" from the "File" menu.
    Select your ASPX file in the pop-up window.
    Click "OK
    Read more: How to Open an ASPX File | eHow.com http://www.ehow.com/how_5072996_open-aspx-file.html#ixzz11bOviYb9

  • Photoshop cs6  .psd file extension

    Hello,  if you create an image and it has a .psd file extension.  Do you have to download software to view the .psd file extension.  Or can if easily be converted to a .jpeg.  On my mac I can see the image.  At work a windows machine it's asking me to find a program that can view a .psd.  I was hoping to convert it to something that will open easily.   Thanks!

    Here is what I did.  I took a picture from the internet and created a new file in photoshop.  Then I added some layers for background, and text.  Now, the image has 4 layers.  It's basically a banner for a title of a page.  It has a .psd format.  I emailed the photo to myself here at work.  I can not open the file.  What started this is:  If I use this new .psd file I have created and used it in dreamweaver.  When someone opens the webpage will that .psd file open for them to see the image?  This is why I have been thinking that I need to convert it to a different format.  I'm Sorry!  I hope this clears up what I am trying to do.  Thanks!

Maybe you are looking for

  • Can I use my iPod Cable? 5G

    I am in a pinch and need a quick answer. Thanks to all, Hector

  • Connecting to HD LCD?

    I have an old G4 that i hooked up to a phillilps 47" 1080p display. The G4 recognizes the resolution and the picture looks great, but the edges bleed off the screen. So the top bar is not visible and only half the dock is visible. Does anybody know h

  • Install issue with Poweredge 2450

    I'm trying to install Solaris 8 on an Dell Poweredge 2450 but the Solaris install drivers are having problems reading my 2 SCSI drives. It just lists my Cdrom and my 2 network cards when it asks me where I want to boot from. I tried to add an old CAD

  • Print priview is proper but resulting blank page .

    Hi Experts, I am new to Adobe forms, We have designed a form of size (1X4) inch size. we have placed all our elements in the subform(design view) ,content of the sub form is positioned.In the pagination , we have choosed Overflow as 'Go To Content Ar

  • Single Referenced iPhoto Library or Multiple Managed Libraries

    I have a huge iPhoto library and I do very little editing.  The library is on a firewire drive connected to an iMac.  With iPhoto 11, the library has become sluggish (in addition to getting larger).  I like to have all the photos in one library, but