On Oct 9, 2007, at 04:31, Deepan R Venkatesh wrote:
> I had setted up a svn server with the basic configuration. While
> I try to view a web page developed in php from a windows XP
> machine, the source page is completely getting download. I dont
> know whats the problem. Before it was working fine without any
> issues. I need to view the pages, I dont want to download the
> source page. I am accessing the php files from the svn server. I
> can explain more with an example.
>
> For example, If I provide the URL in web page http://192.168.1.4/
> pjct/ (192.168.1.4 is my svn server), I'll be displayed some
> folders. Getting into those folders, If I click on index.php file
> its popping up a window to store that page. I need to display that
> index.php in the browser.
>
> Kindly help me to solve this issue and to work with svn. Please
> let me know If you need any other clarification on this.
I understand that when you access a .php file served through your
repository, you get a browser "save file" dialog box, and you would
like something different to happen. Which behavior do you want? a)
the source of the php file is displayed, or b) the web server
interprets the php code?
a) is what should be happening. Perhaps you have the wrong svn:mime-
type property on the file?
If you want b), then you need to check out a working copy from your
repository and put that somewhere under an Apache document root. You
may want to install some directives to prevent access to things under
the .svn directories of the working copy. You may want to install
some kind of hook to auto-update the working copy when new commits
are made to the repository.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 10 05:30:03 2007