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

  • Home
  • SEARCH
  • 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 581845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:37:25+00:00 2026-05-13T14:37:25+00:00

I have found this question , but it was never resolved and don’t want

  • 0

I have found this question, but it was never resolved and don’t want to hijack it for myself. I’ll try and give as many details as possible.

I have a shared hosting account on a Linux server which is my web server, and I have shell access.

I’m working from a Windows machine using TortoiseSVN.

I have several web sites in my public_html/ on the hosting server and would like to be able to have any changes made on my Windows machine be propagated to the server with minimum fuss. I basically want to get away from manually uploading over FTP.

I would be happy to keep all my revisions, but don’t actually ever need to see them really, certainly not from a web interface. All I want to see from the web is the current revision.

Hopefully that’s most of the detail sorted, now for the actual question. What’s the best way to set my SVN to work in my public_html folder without exposing all my .svn directories to the public?

  • 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-13T14:37:26+00:00Added an answer on May 13, 2026 at 2:37 pm

    I would advice against using a checkout working copy on production. The best way to upload to production is export. If you want something automatically you could look into some deployment script like Capistrano.

    If you still want to do it .. you could use a htacccess to hide them:

    <FilesMatch "\.svn/.*">
       order deny,allow
       deny from all
    </FilesMatch>
    
    <Files .htaccess>
       order deny,allow
       deny from all
    </Files>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen this multiple times in multiple places, but never have found a satisfying
I found this question here: OLEDB v/s ODBC Which gave me more information, but
I know this isn't strictly a programming question but y'all must have experienced this.
Reading this question I found this as (note the quotation marks) code to solve
I asked a question about this some years back when Vista was first released,
The answer to this is probably right under my nose, but I am not
I found this answer and it sounds like almost exactly what I'm doing. I
We have an application hosted on both a local development server and a live
You're in Visual Studio... you press F5 (Run) and are greeted by this dialog:

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.