In our apache web server, we have a number of virtual hosts running. I wanted to create an alias to a folder only to a specific virtual host. So what I did is, in the virtual host configuration section of that specific site, I added as below:
[Code]..
However, with this configuration,if index.html is not present in the system , I am still able to see directory listing of all files under that folder myfiles. What could be going wrong ? Why "options" directive of is not working once it is placed inside <directory > of <virtualhost>? If I move <directory> in the main httpd.conf (ie , outside virtual host section), then again it works fine. But I don't want this as I don't want other virtual hosts also to be able to access to that directory... In the main httpd.conf, I have something like
I have a lot virtual hosts running on Apache. Directory browsing is enabled on every single vhost (by default), and I want to disable this globally. Been searching and struggling with this for some time now, but can't seem to get it right. I have tried following in my apache2.conf
Code: <Directory /var/www/> Options -Indexes FollowSymLinks MultiViews AllowOverride None </Directory> Also tried following in /sites-available/default
[Code]...
I know I can throw "Options -Indexes" on every single vhost, but it must be possible to do this globally.What am I doing wrong?
I've installed webdav on my server and I can access it fine through cadaver. However, when I try to access it via nautilus, I get Forbidden. It is NOT secured (SSL). When I try to access it via firefox, I get an error since I DO NOT have "Options Indexes" in my apache config file. If I add this option in, then I can browse the root direction and webdav folder via firefox, but still not from nautilus. what other information you need. I've googled and searched the forums for awhile, but not "solutions" I found have worked for me. I want the webdav folder to just be a single folder within the direction, so this is how I have my config file setup:
[Code]....
As a side-note...when I included "Option Indexes", it allowed me to view the passwd.dav file from firefox!That doesn't seem very good...
I configuring samba under Fedora 12, i just set in samba dialog Server Settings->Security and choose guest account: apache. The account is exist io the Samba Server, now i try to login from Windows to Linux share, server asks me login and password, however when i set apache as login and not set password, server asks me login again as the password is incorrect. As i understand under guest acount can login any windows user without the password.
Now when I try to pull an Ip from the 96.63.0.0/24 subnet I do not see the options in the DHCPACK from the server. The client gets an IP 96.63.0.12 but no options are present in the DHCPACK or any other DHCP transaction. I have confirmed this trhough tcpdumps on the server and client.
The server version I am using is:
The version of the DHCP server is :
Internet Systems Consortium DHCP Server V3.0.6-Fedora
I am using Fedora 12. I have the following problem, when i working with system-config-samba dialog:I add the new user on the server:as following:
Unix username: vova Windows username:test
As described in Customisation Guide for Red Hat 9: "If the user has a different username on a Windows machine and will be logging into the Samba serverfrom the Windows machine, specify that Windows username in the Windows Username field."So i logged from the Windows machine not under test(Windows username) but under vova.And i logged in without the problem. However it seems that samba should check windows username=test (as have written in samba-config) and ask an password for different users. And additionally, if samba check the currect user in Windows itself and verify it with Unix user, what for we need write the Windows username in samba config? I don't understand
upgraded to 10.04 on pangolin performance laptopset power option to never suspend or hibernate or shut down using AC or batteryhowever...the system suspends after a few minutes of idle time, requiring a password to log back on
i've recently installed Ubuntu 9.10, and i am trying to get java6 jre working. using "sudo apt-get install openjdk-6-jre" the package downloads and works fine until i run into this screen: Now this must look like everything is working fine....and i should just click the ' OK ' button...that is where the trouble begins...i can't....and i was hoping someone would know the problem...
I recently uninstalled some unnecessary libs thinking that I could work around without them. It turned out I couldn't. So I installed every single one, and it seemed like everything was working fine. But then I tried to boot, and was thrown into a low-graphics. Well I tried to boot in a low-graphics environment temporarily but it turned out X just restarted. Then I tried to reconfigure the settings, but choosing any option it threw me back into the last menu without any action being taken.
So I googled up some lines it was vomiting at me and it indeed might be my xorg not configured properly. but every time I try to reconfigure it and I look into the .conf file it turns out it is completely blank. maybe I should also note I am sporting a 64 bit bubuntu, not an NVidia though, Intel Series 4 express chipset family thing. I think it is a GMA4500MHD but not sure, what shall I do so that I don't have to reinstall my beautiful pimped out system?
i'm just trying to get the sound working on my laptop I found a solution online 'Sound: add options snd-hda-intel model=dell-m6 to /etc/modprobe.d/alsa-base.conf.
I am going to attempt to install Ubuntu Linux onto an 500GB USB external hard drive. I was wondering what my boot options where as i am installing on to a powermac G5 that uses open firmware. From the boot menu, i dont have the option to boot to USB(like i can from firewire, CD or Internal HD) though i have found this page;URl...this enables me to boot from usb and works fine with Mac Os X (as i had to do this to boot from a usb stick i installed the os on when doing a spot of data recovery) but i'm not sure if it would boot into linux cleanly. I'm also unsure as to wether in instalation i'd need to install yaboot or not, and if not wether this is actualy an option o n the install cd.
Any info on whether anybody had installed a similar system, had any experience installing onto open firmware for an external Usb hard drive booting system or just any general knowledge about linux on open firmware.
I am going to attempt to install Linux (probably Ubuntu) onto an 500GB USB external hard drive. I was wondering what my boot options where as i am installing on to a powermac G5 that uses open firmware. From the boot menu, i dont have the option to boot to USB(like i can from firewire, CD or Internal HD) though i have found this page;[URL]... this enables me to boot from usb and works fine with Mac Os X (as i had to do this to boot from a usb stick i installed the os on when doing a spot of data recovery) but im not sure if it would boot into linux cleanly. I'm also unsure as to wether in instalation i'd need to install yaboot or not, and if not wether this is actualy an option o n the install cd.
Any info on whether anybody had installed a similar system, had any experience installing onto open firmware for an external Usb hard drive booting system or just any general knowledge about linux on open firmware would be great.
So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.
I am having a small issue with finding and installing an IRC server program for ubuntu 10.10. I would like to know if anybody has any input on what the most simplistic and secure irc server program out there is, and how I would install and configure that said program.
I am trying to build minimal php and mysql binaries. While doing so, I realize that there is no documentaries to state whether does compiling straight from the source without any configurations options set, ensure an optimized yet minimal build? I am trying out for my own personal website which will be powered by Wordpress 3. The previous method I used was using the package manager: "apt-get install php-cgi php5-cgi php5-cli php5-mysql mysqld mysql-server mysql mysql-client". I am trying out to mimic the binaries installed by the package manager through building from the sources instead. How do I know what configuration options did those repositories developers used? Is there any special configuration options used for those minimal yet optimized binaries? Does doing the following ensure a minimal build?:
1) ./configure 2) make 3) install
I figured since I did not use any configuration options, therefore it should be a minimal build right (Meaning the bare-bones)?
Port 3128 is set up for transparent proxying (ie, if you send a request to the internet, iptables forwards it to 3128) Port 3129 is just a regular port. If you connect to 3129 directly, you get prompted for a password:
Code:
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid/squid.passwd auth_param basic children 2 auth_param basic realm Squid proxy-caching server acl password proxy_auth admin http_access allow password
And this is actually working also. If someone signs then they are able to access unrestricted browsing (with squidguard). However, if they don't, they are transparent-proxied and have restricted browsing. The problem is I keep getting /var/squid/cache.log hits:
Code:
2010/03/03 17:11:04| ACHChecklist::authenticated: authentication not applicable on transparently intercepted requests. Basically evertime there's a transparent request, it throws a warning.
I install software called Sunflow v0.07.2 in my Ubuntu. When I try to run it,it says "API error : JVM available memory is below 800 MB (found 728 MB only). Please make sure you launched the program with the -Xmx command line options". What is that xmx command line.What should i do to run Sunflow.
I just installed AV Linux to an old Compaq Evo N800v laptop. I did have Ubuntu Studio on this laptop and it worked really good. But there were things I didn't like, so I tested AV Linux and ended up installing it this morning.
I ran the install without a network connection because I read a tutorial that said it was better to just get the operating system installed without any hiccups and after do the updates. So I opened the Synaptic Package Manager and clicked Reload and ended up getting this message:
Could not download all repository indexes
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Ignoring file 'violetsky_steam.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extensionIgnoring file 'violetsky_steam.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extensionFailed to fetch http://http.us.debian.org/debian/dists/ ... Sources.gz 404 Not Found [IP: 128.30.2.26 80] Failed to fetch http://http.us.debian.org/debian/dists/ ... Sources.gz 404 Not Found [IP: 128.30.2.26 80] Failed to fetch http://http.us.debian.org/debian/dists/ ... Sources.gz 404 Not Found [IP: 128.30.2.26 80] Failed to fetch http://http.us.debian.org/debian/dists/ ... ackages.gz 404 Not Found [IP: 128.30.2.26 80] Failed to fetch http://http.us.debian.org/debian/dists/ ... ackages.gz 404 Not Found [IP: 128.30.2.26 80] Failed to fetch http://http.us.debian.org/debian/dists/ ... ackages.gz 404 Not Found [IP: 128.30.2.26 80] Some index files failed to download, they have been ignored, or old ones used instead.
I have recently installed ubuntu and evrey time I try installing some new application or updating the computer. I get this error: Could not download all repository indexes. The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. The method driver /usr/lib/apt/methods/htttp could not be found. The method driver /usr/lib/apt/methods/htttp could not be found. I have tried searching the matter on google without any avail. I was very excited about using but now all hopes seem down.
My network connection is just fine. It worked flawlessly on my laptop.
Quote:
Could not download all repository indexes
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Code:
Failed to fetch http://archive.getdeb.net/ubuntu/dists/lucid-getdeb/Release.gpg Could not connect to archive.getdeb.net:80 (81.92.203.249). - connect (110: Connection timed out) Failed to fetch http://archive.getdeb.net/ubuntu/dists/lucid-getdeb/games/i18n/Translation-en_US.bz2 Unable to connect to archive.getdeb.net:http:
every time i check for updates using the update manager i get this message "Could not dowload all repository indexes.The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Failed to fetch URL... Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)Some index files failed to download, they have been ignored, or old ones used instead."I've just started using Ubuntu and loving it, pretty much a beginner. any help regarding the issue would be appreciated.The message aint causing any problems with the working but i still like to have an error free computer.
Can list options available for server redundancy? (i.e. fault tolerance methods so that if a server goes down another server can take over). Also is it possible to implement RAID1/disk mirroring across servers?
I'm having some trouble understanding the smartd configuration options which go in /etc/smartd.conf. I've had smartd running for close to a year now, and read the manual page for smartd and smartd.conf several times, and I still can't get my head around it properly. This is what I use in smartd.conf: /dev/sda -H -f -S on -o on -n standby,q -s (O/../.././(00|06|12|18)|S/../.././11|L/../../(3|6)/21) -m <nomailer> -M exec /usr/sbin/smartd_mailer The above works fine (I use a custom script because I use exim). However, I had two failing hard-disks on two different machines (sector pending attribute) - but I would only receive warning emails if I restarted the machines - not when the periodic tests were being performed. I have a number of questions, if any of you would like to share some light on this:
1. It is not clear from the manual page how the monitoring and alerting mode works. Do I get an initial email when I start smartd if something is wrong, and then no other warning email after each scan, even if there is a fault, unless the fault goes worse? 2. Can I force it to send me warning emails after each test (offline, online, short, long etc.) if the fault condition is still there, even if it hasn't gotten worse? 3. There seem to be a variety of parameters monitored. I was thinking that if I monitor bad sectors, and the hdd temperature - it should be enough to warn me when the hard-disk is failing? Would the -a switch in smartd.conf cover these? 4. I don't understand the difference between monitoring and logging in relation to alerts? Do I get alerts only if I log things? 5. Do I understand correctly that the -p and -u switch would warn me of *any* changes in SMART attributes, even if they don't represent risk of failure? 6. Is there a way of finding out if the scheduled tests (offline, long, short etc.) have been performed?
The subject line above is the error message I get when Update Manager runs. I also get the following; The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
....and this; Failed to fetch http://ppa.launchpad.net/ubuntu-wine...86/Packages.gz 404 Not Found Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.45 80] Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.45 80]
Some index files failed to download, they have been ignored, or old ones used instead. Also, Update Manager says, "Your System is up-to date. The package information was last updated 55 days ago" I supposedly updated yesterday, so why does it say 55 days ago?
I upgraded to 10.04 and can't get flash to work. I tried to run the update package and got this message:
Failed to fetch [URL].. Unable to find expected entry partner/binary-i386/Packages in Meta-index file (malformed Release file?) Some index files failed to download, they have been ignored, or old ones used instead.
I can't install software without it telling me that its not trusted! When I reload the software sources it gives me this. Could not download all repository indexes. The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
GPG error: [URL] lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912EGPG error: [URL] lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5GPG error: [URL] lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139GPG error: [URL] lucid Release: Some index files failed to download, they have been ignored, or old ones used instead.