Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3346130
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:16:02+00:00 2026-05-18T01:16:02+00:00

I have checked in javadocs(html files) into svn. But, when I access the html

  • 0

I have checked in javadocs(html files) into svn. But, when I access the html files thru a browser, it gets interpreted as text. How, do I fix this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:16:03+00:00Added an answer on May 18, 2026 at 1:16 am

    SVN is not a webserver. I guess you are talking about Subversion’s Apache module!? If you want to view .html files as HTML then you should set svn:mime-type=text/html:

    svn propset svn:mime-type text/html *.html
    

    See Properties in the SVN Book.

    Also, if the svn:mime-type property is
    set, then the Subversion Apache module
    will use its value to populate the
    Content-type: HTTP header when
    responding to GET requests. This gives
    a crucial clue about how to display a
    file when perusing your repository
    with a web browser.

    Maybe you can configure your subversion client or server with the following lines in the config file:

    [miscellany]
    ### Automatic properties are defined in the section 'auto-props'.
    enable-auto-props = yes
    
    ### Section for configuring automatic properties.
    [auto-props]
    *.html = svn:mime-type=text/html
    

    This will automatically set the properties for new files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have checked out files from my svn repository to a local project folder.
I have checked out a source from my svn into my Linux PC. In
I have checked the whole site and googled on the net but was unable
I checked the javadocs of the Tomcat library I have included under my Netbeans
I have checked out some files from subversion repository. After building, there are a
I have checked my Add/Remove program panel and Components panel as well but could
I have checked several other threads but I am still having a problem. I
i have checked out webkit source code from they svn server, when i issued
I have checked ResourceManager, but seems like i missed something or i just checked
I have checked-out one of the project from SVN (using SSH protocol) (been a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.