public-html

How can I make a public HTML folder in Ubuntu?

Simple question, but for some reason I couldn't find the exact answer on Google: I have a fresh Ubuntu install on Slicehost, and would like to make a public directory in my home dir for a simple website containing a bunch of static HTML files. How do I do this? Is it just a matter of typing mkdir public_html and setting the permissions,...

Why won't my web browser reflect changes I made on the server?

This is as simple as it gets. My school provides us with a personal storage that can be used for a webpage. Its the standard http://www.example.com/~studentname type deal. Previously, I would make changes to an index.html file and upload in using the 'Secure File Transfer Client' to my public_html folder. I'd hit refresh, and bingo. I u...

How to properly create an SVN repository that is accessible via http? (inside public_html)?

Here's the situation: subversion is already installed in the server and I have access to one of the shared accounts in the server (not the root), and this shared hosting account has SSH access. I want to create a repository where I can commit the PHP files i'm working on, and when I commit it should be viewable in a browser that is why...

How to properly set up svn on web server?

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 tortoise svn. I have several web sites in my public_html/...

Prevent access to files of other users

In my server (cpanel) I see now that with a simple DIR script (PHP) I can list files of all users over public_html /home/[user]/public_html/ How can I prevent users from accessing the files of other users? ...

How do I use perlbrew to manage perl installations aimed at web applications?

I have been using perlbrew to manage multiple versions of perl on a Linux Fedora notebook. I have used it with great benefit to run command-line scripts mostly using App::cmd. I now want to move to running web applications written using CGI::Application using different perls installed in my $HOME. I am familiar with running Perl web ap...