You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Federico Edelman <fe...@claxson.com> on 2004/02/19 16:08:38 UTC
Doubt about Mime-Type in HTTP
Guys, first, I'm newbie with Subversion software. I'm reading "svnbook"
and I'm testing some features.
I run subversion 0.37.0, httpd-2.0.48, db-4.2.52 into Debian GNU/Linux
3.0r1.
My httpd.conf says:
--- snip snip ---
...
...
VirtualHost *:8080>
ServerAdmin root@foo.com
DocumentRoot /repos/
ServerName foo.com
DirectoryIndex index.php index.html
<Location /svn/inetpub>
DAV svn
SVNPath "/repos/inetpub/"
ForceType text/plain
</Location>
</VirtualHost>
--- snip snip ---
When I browse http://foo.com:8080/svn/inetpub/wwwroot/index.php, I get
the source code of PHP but the browser understands like HTML file. I
attempted to add "ForceType text/pain", it wasn't works.
I would like the users browse the php of the current version into
"text/plain" mode.
Other question, does exists anyway to serve php into the repository?
Thanks very much,
Federico
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Doubt about Mime-Type in HTTP
Posted by Greg Thomas <Gr...@TheThomasHome.co.uk>.
On Thu, 19 Feb 2004 13:08:38 -0300, "Federico Edelman"
<fe...@claxson.com> wrote:
> When I browse http://foo.com:8080/svn/inetpub/wwwroot/index.php, I get
> the source code of PHP but the browser understands like HTML file. I
> attempted to add "ForceType text/pain", it wasn't works.
I don't know if it is still the case, but IE ignores text/plain MIME
types and guesses it from the extension of the URL instead. What
browser are you using?
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org