Ubuntu Servers :: Make Apache Ask For Password In Certain Folders?
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
ADVERTISEMENT
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
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
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
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
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
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
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
Aug 4, 2009
I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..
View 2 Replies
View Related
Jul 17, 2011
I am trying to make my Apache server show symbolic links in a directory listing, but have so far been unsuccessful. In my latest attempt, I have placed the following code in .htaccess, in the directory with the symlinks that I want listing:
Code:
<Directory />
Options All
</Directory>
Im httpd-vhosts.conf, I have also placed the following code within the relative <VirtualHost></VirtualHost>:
View 5 Replies
View Related
Nov 8, 2010
In first place i am sorry about my horrible English. I want to make a web site with a virtual host of apache visible by all the computers connected to my networking. I put this in the end of the file "/etc/httpd/conf/httpd.conf"("192.168.1.194" is the IP address of my computer. The default gateway IP address is "192.168.1.1"):
[Code]...
It works if i go to "http://192.168.1.194/" with the browser of the computer with apache inside, but on the others PC of my networking this method don't work!
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
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
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 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