Unable to access user-specific site after Debian setup
I have setup my Linode as a Debian 5.0 build, following the info on the wiki. I have setup a user account (/home/finalfurlong/) with a public_html folder, but attempting to access anything in that account does not work. (Using
This is the wiki I followed:
Any suggestions?
Thanks!
14 Replies
here
<virtualhost 74.207.224.235:80="">ServerName finalfurlong.org
ServerAlias www.finalfurlong.org
DocumentRoot "/home/finalfurlong/public_html"
ScriptAlias /cgi-bin/ /home/finalfurlong/cgi-bin/</virtualhost>
Have you checked the permissions on the files you've created ? They should be accessible via
–
Well,
If you want (for some unknown reason) to be able to access it from [http://finalfurlong.org/~finalfurlong" target="_blank">
Anyway, permissions or php settings are the most likely culprits.
Deleting either will probably fix it. Since you're using
Additionally if you wanted access via
@condate:
If you followed that Debian Etch guide on your
Additionally if you wanted access via
http://74.207.224.235/~finalfurlong as well, try enabling the userdir module for Apache (a2enmod userdir) and then reloading Apache.
Removing the duplicate NameVirtualServer thing didn't do much, but adding the userdir module did help.
So thanks!
My next issue is that now that I've uploaded all my files to /home/finalfurlong/public_html/, it doesn't want to display them. I originally created info.php via the command line that is just a phpinfo() page, and that works. I've also uploaded another few hundred files, though, and none of those are recognized via the browser.
I did upload them as root, but then via command line changed their owner/group to finalfurlong.
Do I need to do anything else?
Thanks again.
ls -alh /home/finalfurlong/public_html/
Any oddities ?
If you were able to create the info.php page, and Apache can see it but no other files in that directory, then either there must be some .htaccess rule in the way (unlikely, as it's a fresh install), or the mime type is being ignored for some reason.
You've got some weird kind of structure going on.
It appears that the user finalfurlong owns multiple sites -
finalfurlong.org and tohorse.com both under /home/finalfurlong or /var/www/finalfurlong
What is the index page in each of your sites? It will need to be either index.html or index.php - If you are using php, have you added index.php to the apache index pages directive (can't remember the real name of that) in the apache configuration file. Etch did it for me automatically, Lenny may not.
Does it work with index.html?
interestingly
@equestrianerd:
I believe so…my finalfurlong.org file in that folder is:
<virtualhost 74.207.224.235:80="">ServerName finalfurlong.org ServerAlias www.finalfurlong.org DocumentRoot "/home/finalfurlong/public_html" ScriptAlias /cgi-bin/ /home/finalfurlong/cgi-bin/</virtualhost>
I suspect that DocumentRoot should be:
DocumentRoot "/home/finalfurlong/finalfurlong.org/public_html"
based on what I can see from above. (maybe)