This question isn't entirely clear, but I take it to mean that you want to work on a copy of your data in the htdocs folder on your local machine, view them via the web server on your local machine and, when you are happy, commit the changes and roll them out on the production machine.
If so, congratulations! This is an excellent way to work.
This is exactly what we do (to the point of running local versions of entire dynamic applications). We commit on a regular basis and then, to do a release, just go to the server and do an svn update in the checkout of htdocs (or whatever) on the server. This could be automated with a cron job, but we like to do it manually since it ensures that the head gets a sanity check first, and if something goes weird with the update, there's someone right there to deal with it.
To get started:
- create an htdocs and some files on your development machine
svn import
that directory
- go to your production machine, and
svn checkout
the htdocs dir