Ubuntu :: Make Apache Ask For Password In Certain Folders?
Apr 13, 2010
First off please don't say "go read the man page". I need instructions for newbies
I basically want certain folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working. Someone kind enough to help out a confused person like myself?
View 4 Replies
ADVERTISEMENT
Apr 13, 2010
I basicly want certian folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working.i have
Code:
Deny from all
AuthType Basic
[code]....
View 2 Replies
View Related
Jun 9, 2009
I am on mac os x and whenever I make aliases in my apache config file to point to folders outside of main web document root folder, I get access forbidden. I have chmod -R 777 the whole destination directory (to test it) and still no go. Access forbidden. I have also tried pointing directly to [URL].
View 1 Replies
View Related
Jun 3, 2011
I just did a new install of 11.04 because I got a new ssd and now when I try to host my site from /home/USER/www/ apache says "You don't have permission to access / on this server" 403 Forbidden. I had the same exact configuration files on my other install of 11.04 and everything worked fine. One thing I did notice is that when apache installed it did not create a www-data group. I also serve a folder for music on another port and I can get to that fine.
View 3 Replies
View Related
Sep 23, 2010
I want to setup a folder (several really) for websites that use PHP.
I am running Linux Ubuntu with PHP, APACHE installed.
The Apache server works in Firefox as 127.0.1.1 no problem.
The default directory is (DocumentRoot) /var/www This is stored in a file called /etc/apache2/sites-enabled/000-default
PHP executes no problem, if it is in the default directory (/var/www).
However, I'd like to activate PHP in a folder on another hard-drive (also).
In that folder I'd like to store several websites, all which will use PHP and MYSQL.
The problem is, my boot drive where /var/www currently is located has only 2 gig of space (21 gig for operating system, which seems high).
PHP files in the other hard drive do not execute, even under APACHE server.
How can I safely change the PHP enabled folder? How can I add more folders, without erasing the current one?
View 2 Replies
View Related
Apr 12, 2010
How to protect my /var/www folder in Apache ? When I`m putting wrong url I see the content of /var/www . How to restricted it ? .htaccess ?
View 4 Replies
View Related
Sep 30, 2010
I need know to protect particular file or folder with a password can any tell how to do that in RHEL 5
View 2 Replies
View Related
May 2, 2010
im trying to install peazip and its different then the usual ./configure, make, make install instead it has two folders (please look at attachment)
View 3 Replies
View Related
Aug 3, 2011
Does anyone know a way I can make Wine be able to see my Ubuntu folders? I want to be able to use iTunes with Wine but also be able to just use my home folder instead of putting music and stuff in the Wine folders.
View 2 Replies
View Related
Apr 11, 2010
I've managed to setup Ubuntu Server 9.10, and created folders/files toview/edit/execute with Windows and Mac.
Now here is my dilemma, this is for a home server, and I will have 4 users(1 for myself, one with "admin" rights, my fiance(mac user), media pc, and a "guest" account for the computer or 2 that are out in the public(they don't need access to my taxes ).
I'd like to have it so that on my laptop, I can access the whole server, but some files/folders would even need me to put in a password. I want to do this because my fiance gets delete happy and deletes things, so if she goes on my computer she won't delete important info. I'd like her to have access to music, photos, and videos, as well as her having her own folder that she can treat as her hard drive.
The question is, do I need to setup a domain for this, or can I get away with a workgroup?
View 2 Replies
View Related
Jul 21, 2010
I posted this yesterday, but my post completely disappeared (I looked high and low -- nothing.)
I am using Ubuntu Server 10.04, all the latests updates.
For an FTP Server, I use ProFTP.
One specific directory, and it's subdirectories on my server will not download at a reasonable rate. They move at about 17-50KBPS.
All other folders work fine, at around 1.5-2.5MBPS.
What is going on? I have no idea how to troubleshoot this. The files being transfered are in a directory under home. They should have no permissions issues (I reapplied the permissions I want already), I tried restarting ProFTP, the files vary in sizes (from a few kilobytes to about 120 megabytes).
I use Webmin for most web management.
I am not having overload issues with my network card or CPU utilization while downloading these files. They are being accessed from the local network.
This issue is taxing because the files in question are backup files.
View 9 Replies
View Related
Sep 13, 2010
New ubuntu user here, and i feel 100% comfortable with it now other then command line
i love it, feels better then windows, and im in awe at how fast it boots
i have 2 gripes only, that im hoping can be fixed!
is there anyway to make ntfs hidden fils hidden again?
i have a storage partition that i use on windows, and now ubuntu, the problem is theres all sorts o wierd ****
like "system voume information, RECYCLEBIN-O1" and wierd crap like that
its usually hidden in windows, but visible and clickable in ubuntu
is there some way to hide these files and folders? i think windows needs them, but they look so bad and ruin my folder organization
and also, is there some way to have my storage partition always mounted? each time i restart i lose my music library in rhythembox, and have to redirect it to my music folder on my storage drive.
View 8 Replies
View Related
Sep 19, 2010
I have an folder with different websites saved on it but when I'm about to extract it to an .zip and unextract it on Windows it says something like wrong name.What to do?DIT: Would it work if I installed VMware Workstation on my PC?
View 3 Replies
View Related
Oct 1, 2010
is there any way to make files and folders hidden?
View 3 Replies
View Related
Oct 12, 2009
I was wondering how to password protect certain file folders?
View 6 Replies
View Related
Jan 7, 2011
I've got a NAS running and I'd like to somehow make some of the folders and files invisible to certain users only. For example, if I 'ls' a directory, I want to see files 'a', 'b', and 'c'. But if another user does 'ls' in the same directory, I only want them to be able to see 'a' listed.I know I can use 'chmod +700' to make certain files not able to be read/written, but the filename would still appear in a 'ls'.I know I can put certain files inside of a '.hidden' file in the folder, but then it would be hiEdit : I'd also like to mention that the users that connect to the NAS could be coming from Windows or Mac operating systems. So hopefully the solution would work for users from those systems also..
View 5 Replies
View Related
Jul 24, 2011
I'm new to ubuntu (installed 3 days ago). I have two disks in my notebook - one hdd (big, 320GB) and one ssd (very fast, 120GB). Everything is on ssd now, but I want to know how can I split my home directory to make config folders (like .thunderbird, .mozilla, .purple) to use ssd (for very fast response), and put movies, pictures, downloads and other folders to use hdd (a lot of space). Simply mounting hdd as /home is not a good option, becouse config files would be on hdd also. Should I mount (or link) all folders like /home/username/Videos to hdd, or is there a better solution?
View 6 Replies
View Related
Aug 29, 2010
i have been copying dvd's and now i do not have enough room in my temporary folder,but i cannot find out how to delete the folders and make space to continue
View 7 Replies
View Related
Oct 22, 2010
I'm playing with apache (and to be quite honest have no idea what I'm doing at this stage!) and currently have a large number of files and folders on the sad little site. One thing that is really bothering me is that files and folders both appear the same. I'm not looking for anything fancy. Something like this is more than adequate. Right now there is simply a dot next to each item.
View 2 Replies
View Related
Feb 20, 2010
Is it possible to configure Apache with password security (AuthConfig), yet allow certain IP addresses access without being prompted for a password?
View 3 Replies
View Related
Feb 25, 2011
Is it possible to make a script that makes a tree of all folders and subfolders and outputs it to either a .txt file or .pdf? All folders except from one shall list 2 levels. The except folder all the way.
View 3 Replies
View Related
Jun 17, 2011
I've recently upgraded to 11.04.Till now, I could select an option to make the open folders on shutdown, to restore on startup.There was an option to restore running applications
View 5 Replies
View Related
Nov 29, 2010
On startup - prompt asking for apache certificate password doesn't accept input. Can switch to another tty but can't restart apache due to the port already being bound (suppose I could change ports for apache config after startup but that's pretty ugly and clearly not the right way to address the problem.
View 5 Replies
View Related
Apr 11, 2011
I'm running a server and Cogeco doesn't want that.
What I want to do is make it so when someone goes to my_domain/ apache will pretend it doesn't exist, but I want subdirectories to work still.
What I tried was denying access to /var/www, but the apache returns with a message for that.
View 6 Replies
View Related
Feb 15, 2011
I am administrating a lab in a university and every semester we need to delete all the home folders of the accounts for the next semester. I would like to make a bash script that does this automatically and having trouble with it. Note that I am writing my very first bash script. What I need to do is make a script to delete the following:
Delete everything in /home/$exp$num/$dir
when "exp" could be either "rt", "ic" or "sp".
"num" could run from 1(single digit) to 45 and dir is "profile" and "work".
This is what I tried to write:
Code:
#!/bin/sh
cd /home
for exp in "rt ic sp"
do
[code]....
What seems to be the problem is the reading of "$exp$num" as a joint expression.
View 4 Replies
View Related
Aug 13, 2010
I am wondering how websites like banks are able to determine if you have previously used a certain computer to access the website, even if your router's IP address may have changed and your system's cookies have been cleared. I have users that need to access our HTTP intranet from outside locations. Those locations will have dynamic IP addresses most of the time, so I can't just "allow from [ip]" in my Apache proxy configuration. Originally we considered a VPN, but determined that a VPN will be overkill to access just an internal website, since we do not want external users to have permission to the rest of the network, only the website.I currently have it working over HTTPS with basic authentication against an internal LDAP server, but I want a little more security for such an important website.
crappy diagram:
[user]-->(internet via https)-->[apache gateway]-->(intranet)-->[http server]
View 3 Replies
View Related
Jan 28, 2010
I have it set up so when I go to URL... it shows my server. I'm not sure how I can make it viewable to everyone though.
View 3 Replies
View Related
Jan 10, 2011
Recently I've been migrating my development environment to ubuntu (desktop edition, because this is not a server, is just my computer) and I've been having some problems with apache case-sensitive (I'm an absolute beginner with it). I want to make apache case-insensitive, but I didn't find a complete and easy to follow solution online more than doing this:
From the command line, type sudo su to get root privileges.
nano /etc/apache2/mods-available/speling.conf
Type CheckSpelling on and hit ctrl-x, y to exit and save the file.
type a2enmod and then speling and hit enter.
type /etc/init.d/apache2 reload to reload apache.
Mistype a url to test it.
I found that here: [URL]. It worked for some things but I'm still having a lot of problems with capitalization. I don't wanna go back to windows an ISS. BTW I'm using ubuntu 10.10 desktop edition 32-bits, and I've not moved any apache configuration more than that described above.
View 3 Replies
View Related
Mar 27, 2011
Is there a quick and easy way to make sure apache always starts with a certain nice value?
View 1 Replies
View Related
Apr 11, 2011
I have Joomla installed at /var/www/joomla, if I navigate to http://localhost/joomla, I get a 404 error, but if I add index.php, the page loads. What is wrong?? Also I am not able to navigate to the administration part of Joomla for the same reason, typing in index.php doesn't load it in this case. Yes I have verified that all files are present in the directory.
View 7 Replies
View Related