[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Doubt about Mime-Type in HTTP

From: Federico Edelman <fedelman_at_claxson.com>
Date: 2004-02-19 17:08:38 CET

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
Received on Thu Feb 19 17:09:28 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.