How to view "shtml" files locally?

I am writing some simple web pages and decided to use an "shtml" format, so that I can group all the common elements into a single file. This works nicely when I post an shtml file and the associated "include" file to my University's web server. If I serve the file locally from my ~user (Sites) directory none of the elements in the "include" file get rendered.
Can someone advise how to edit my httpd.conf file (Apache configuration) and/or user.conf file to allow the onboard Apache server to parse .shtml files? I have tried to follow the configuration instructions at apache.org, but I'm clearly doing something wrong.
Thanks in advance for any help ...

SHTML files are regular HTML files that make use of Server-Side Includes. In some server configurations, the special file extension is required to instruct the server to parse the file for SSI code.
If Firefox doesn't recognize the file type, it is likely the MIME type is incorrect.
Try this Addons
*https://addons.mozilla.org/en-US/firefox/addon/open-in-browser/

Similar Messages

  • How to view .shtml files locally? I have added "Open in Browser" but still not able to see the local .shtml file.

    I have added Open in browser add ons in Firefox browser, but still not able to see the .shtml files on local machine.
    Can any one please tell me how to view .shtml files in Firefox?

    SHTML files are regular HTML files that make use of Server-Side Includes. In some server configurations, the special file extension is required to instruct the server to parse the file for SSI code.
    If Firefox doesn't recognize the file type, it is likely the MIME type is incorrect.
    Try this Addons
    *https://addons.mozilla.org/en-US/firefox/addon/open-in-browser/

  • How to view pdf file in java/jsp?

    Hello Everybody,
    Any one help me how to view pdf file in jsp using java application.
    I have pdf file c:\app.pdf.
    How can i display the pdf file.
    Please help me.................
    Thanks

    Hello,
    You can use the below code, but i am not sure how far is this a startard way of doing it.
    # <%
    # ServletOutputStream servletOutputStream = response.getOutputStream();
    # File reportFile = new File("C:\\Tomcat 5.0\\webapps\\TestApp\\myfile.pdf");
    # FileInputStream fis = new FileInputStream(reportFile);
    # byte[] bytes= new byte[128000];
    # int count=fis.read(bytes);
    # try
    # response.setContentType("application/pdf");
    # response.setContentLength(bytes.length);
    # servletOutputStream.write(bytes, 0, bytes.length);
    # servletOutputStream.flush();
    # servletOutputStream.close();
    # }catch(Exception e){}

  • HOW TO VIEW .PDF FILES IN ITOUCH4 .

    I DO NOT HAVE INTERNET CONNECTION . CAN ANYONE HELP ME IN VIEWING .PDF FILES LOCALLY WITHOUT INTERNET CONNECTION.DO ITOUCH4 HAVE BUILT IN FEATURE TO VIEW .PDF FILES.

    Hello pvoona,
    And welcome to Apple Discussions!
    DO ITOUCH4 HAVE BUILT IN FEATURE TO VIEW .PDF FILES.
    No it does not. You'll need the help of an application from the App store in order to do this. You can also view PDFs on the web via Safari.
    And for future reference, please do not type in all caps. It gives the impression that you are yelling.
    B-rock

  • HOW TO VIEW HIDDEN FILES?????

    i have searched for days on my computer for some hint a program or option that allows me to view any hidden files in an application folder, but it has yet eluded me.
    I am having trouble with a program of mine, and the tech service there told me to send them the programs log file, which they named. i looked in the applications folder, and the only files i saw was the program icon, and the uninstall folder, which contained the uninstall icon. i told them this, and they replied:
    "i'am sure that these files are on your computer. Maybe they are invisible.
    Please search (automatic) the folder ".********" ."
    if anyone knows, eitehr what this means, or how to view hidden files, please let me know
    Thanx

    To see inside an application package select the application then CTRL- or RIGHT-click and select Show package contents from the contextual menu. You can navigate through the application package's content. It's unlikely you will find anything useful there.
    To see invisible files open the Terminal application in your Utilities folder and at the command line prompt enter or paste the following command then press RETURN:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    To turn off the display of invisible files substitute FALSE for TRUE in the same command line.
    Invisible files are invisible for a reason - to hide them from the prying eyes of novice users and ignorant tech support people. Perhaps it would be more helpful if you could detail the problem you are having.

  • How to View/manage Files on Internal Storage?

    Does anyone know how to view/manage files on the Droid Mini? I did find a list of 'Misc. Files' in 'Settings' under 'Storage'. But it only gives the option to delete. My old phone had a 'Files' app (that came on the phone) where I could view/manage all files. I'm sure I could just plug into my laptop, but I would like to have file access on my phone. Is that even possible? Is there a *good* App I could upload perhaps? Any suggestions?
    Thanks =)

    The Play Store. Search for "File Explorer". Select one from the several found.

  • How to view  .mov files on a pc?

    how to view  .mov files on a pc?

    Thank you for your prompt responses. Thought this was the correct answer. Didn't want to pass on incorrect information.
    Thanks

  • How to view pst file without Microsoft Outlook?

    How to view pst file without Microsoft Outlook? Please suggest viewer for content of corrupted PST files.

    Hi,
    If the .pst file is corrupted, I suggest you run Scanpst.exe to repair it:
    http://support.microsoft.com/kb/272227
    If you need to view .pst file without Outlook, we may use some 3rd-party tools, there are a lot on Internet.
    Regards,
    Melon Chen
    TechNet Community Support

  • Kindly help me how to view html file in swing using jbutton

    hello..im a begginer at j2se language and im working on my school project..kindly help me how to view html files by clicking button at javax.swing..thanks

    Here you go:public class HTMLViewer implements Runnable, ActionListener
         public void run() {
              JFrame frame = new JFrame("View HTML");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JButton button = new JButton("Click me!");
              button.addActionListener(this);
              Container cp = frame.getContentPane();
              cp.add(button, BorderLayout.CENTER);
              frame.pack();
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         public void actionPerformed(ActionEvent e) {
              if (Desktop.isDesktopSupported()) {
                   Desktop d = Desktop.getDesktop();
                   try {
                        d.browse(new URI("www.google.com"));
                   } catch (IOException ex) {
                        ex.printStackTrace();
                   } catch (URISyntaxException ex) {
                        ex.printStackTrace();
         public static void main(String[] args) {
              EventQueue.invokeLater(new HTMLViewer());
    }If that's not what you're looking for you need to ask more specific questions.

  • Can someone give me step by step directions on how to view temporary files on an ipad2?  Thank you.  Carla

    Can someone please give me step by step directions on how to view temporary files on an iPad 2.. Thank you

    What temporary files are you talking about?

  • How to view .vmsg file format of backed up SMS dat...

    Hello Champs,
    How to view .vmsg file, which is backup of SMS from Transfer my data.
    I want to view in any PC.
    Regards, Siraj.

    Hi, siraj720. You can open the .vmsg file using a text editor app on your PC. You may click here for more info. The link is intended for the US, but it's still applicable regardless of the location. 

  • How to view cc files on a computer that only has photoshop cs6

    I have the new version of photoshop on my computer that only allows me to save files as: photoshop cc.  However, I would like to transfer these files to view on a computer, which is at school, that only allows me to view files from photoshop cs6 or older (cs4, etc.).  I would like to work on projects on my personal computer at home and finish them on the computer at school.  So, how can see my files that are in creative cloud on a computer that only has photoshop cs6?

    Need a little more information.  Never heard of a Photoshop cc file, maybe I'm missing something.  When you save a file the first time there is a drop down menu allowing you to save the photo as a number of different file extensions, i.e.. PSD, tiff, jpeg.  There is no photoshop cc.  File uploaded to your folder on the cloud retain their extensions.

  • How to view and edit local contacts

    Hi there,
    I recently got my Z10 and I cannot find how to view and edit a local contacts on my phone. I've imported all my contacts from a SIM card, but only SIM card's contacts are displayed when I choose All Contacts.
    I would like to have view of the local contacts, becasue local contacts don't have limitations regarding amount of characters in the contact name which I want to edit.
    Can anyone help with this ?
    Michael

    qualxarnu wrote:
    Hi there,
    I recently got my Z10 and I cannot find how to view and edit a local contacts on my phone. I've imported all my contacts from a SIM card, but only SIM card's contacts are displayed when I choose All Contacts.
    I would like to have view of the local contacts, becasue local contacts don't have limitations regarding amount of characters in the contact name which I want to edit.
    Can anyone help with this ?
    Michael
    in your contacts settings, turn OFF all contact accounts (SIM, BBM ETC) then afterwards you should be able to just see your local contacts.
    Want to contract me? You can follow me on Twitter @RobGambino
    Be sure to click Like! for those who have helped you.
    Click Accept as Solution for posts that have solved your issue(s)!

  • How to view .flv files?

    How view flv files in nokia 5233?
    Moderator's Note: We have moved your post and changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.

    the only way really to view .flv files on older Symbian 5th edition devices was thru baseline updates to the built-in video player (in many cases, RealPlayer). this was achieved only thru ensuring that you had the latest firmware installed on your device, via checking via Nokia Suite on your PC.

  • How to view wmv files

    How to you view "wmv" files on ipad 2

    WMV files aren't natively supported on the iPad - you will either need to convert them before putting them on the iPad, or you could have a look in the app store for a third-party app e.g. search for 'wmv'

Maybe you are looking for

  • Material description in Unicode ECC 6.0

    Dear expert, we have SAP ECC 6.0 (Unicode) on Oracle 10.2 If we logon using sapgui in english, can we enter any material description language as chinese, arabic, cirillic, etc. ? Is this right? thanks for your help. Mario

  • Why can't I click on the window bar in quicktime X windows?

    For some reason, I can't click on the window bar at the top of movie windows in Quicktime X. When I do so, it acts as if I'd clicked on whatever was behind the movie window. This means that I have to close windows with the keyboard rather than clicki

  • JSF 1.2 and  

    Hello! I used MyFaces + Facelets and have no problems with After switching to JSF 1.2_01 I getting this strange error: XML Parsing Error: undefined entity Location: http://boris.nikom.ru:8080/test.jsf Line Number 16, Column 14: <tr><td> </td></tr> Th

  • Beehive installation :pdksh conflicts with ksh-20060214-1.7.i386

    Hi, I am doing Beehive installation on OEL5. I got this prerequisite failed.... *Checking for ksh-20060214-1.4; found Not found. Failed.....so the overall check is also failed+. What I tried: [_root@stcfmw01 u06]# cd OEL-5_32Bit/OEL-5_32Bit_Disk1_of_

  • Help: I can't right-click on tools or use brush tools with left-click

    Like a problem I have tell in my title. I don't know it's about a problem of my mouse or of the software. Please help me. Thank you so much!