Ubuntu :: Apache2 Options Indexes Does Not Work?
Mar 27, 2010
I'm running 9.10 and apache2.I have a virtual hostThis works. I'm trying to share some files in a directory: added this in the virtualhost section:
<Directory "/var/www/hindbrain/test">
Options Indexes MultiViews +FollowSymLinks
IndexOptions +FancyIndexing
[code]....
View 9 Replies
ADVERTISEMENT
Feb 24, 2010
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
[Code]....
View 3 Replies
View Related
Jan 18, 2011
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?
View 2 Replies
View Related
Feb 20, 2010
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...
View 4 Replies
View Related
Mar 20, 2011
I am trying to install BackupPC on openSUSE 11.4 64 bit.BackupPC is complaining that I am not running the Apache server as user backuppc but as user with id 0 (root)I have the following in the /etc/apache2/uid.conf (which is getting read as I can put a syntax error in the file and it complains):
User backuppc
Group www
When I run either the httpd2-itk (default in rcapache2) or the plain httpd2 processes and then do a:
ps aux
The user reported as running the http processes is root NOT backuppc.On a openSUSE 11.3 machine where I have BackupPC running successfully the ps command returns backuppc as the user running the processes.Is this something others are seeing or do I have some configuration incorrect?
View 8 Replies
View Related
May 12, 2010
I'm running 10.04 with Apache2/PHP5.x I wanted to test some basic cgi scripts, but my browser is displaying the code (#!...) If I run the scripts on the console, they work fine so CGI is not the problem, it's apache. To install the CGI module I ran sudo apt-get install libapache2-mod-perl2 with no problems. By the way, I installed Apache through apt-get instead of doing it manually, but it seems that the installation divides the conf file in different parts, so the regular apache2.conf has this:
Code:
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
[Code]....
I can't figure out what I need to do to get CGI working on my server.
View 9 Replies
View Related
May 12, 2010
I can't seem php5 work with apache2. I am getting the text openning instead of php. I think this is infamous problem, found many suggestions adding AddType application/x-httpd-php .php, did that in/etc/apache2/apache2. conf and /etc/apache2/httpd.confwith no luck, it's still opening text
View 6 Replies
View Related
Feb 9, 2010
I'm a newb when it comes to linux operating systems so I'm attempting to get better through experience. I work for a web development company and we use Ubuntu for our operating systems (the programmers at least). Anyways, I'm trying to install LAMP services and get them working. I have all L.A.M.P. services installed... but Apache2 is giving me a problem. I have an .htaccess file installed in a directory under my document root. But Apache2 is not interpreting it. I have AllowOverride All on but I can't figure it out. I did make a bogus .htaccess file attempting to make apache give me a error, nothing.
View 2 Replies
View Related
Nov 29, 2010
I'm trying to set up 2 aliases with PHP files in it. But in both cases I get a 403 Forbidden error. This is what the /etc/apache2/conf.d/alias file looks like:
[Code]....
View 9 Replies
View Related
Jan 23, 2010
I have a bunch of nfs mounts from my MythTV backend to my netbook, both running 9.10. Due to the lousy Atheros wireless driver, it typically loses connection at least every half hour. The nfs mounts are mounted soft,intr, so programs should get an error trying to talk to a server they can't contact, and the request should be interruptable. Instead, they just lock up, can't be interrupted, and the netbook can't even shut down after the network failure because it hangs trying to clean up before shutting down.
So do these nfs options actually work in Ubuntu? 'mount' shows the nfs directory mounted with the correct options, so it doesn't seem to be any kind of configuration problem... it just doesn't do what I'm telling it to do.
View 2 Replies
View Related
Nov 19, 2010
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies
View Related
Dec 9, 2009
I am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
View 1 Replies
View Related
Jul 14, 2010
I'm using squeeze and my updates are all updated. Aptitude-gtk is at 0.6.3-2 . My menu icons, like 'Update', 'Packages', and 'Preview' don't work. Luckily the buttons at the bottom of the screen, like 'Fix Manually' and 'Upgrade', still work. In this way the application is still useful. I can still search for things, and I can right-click with the mouse to mark packages for installation or removal. Then I use the buttons at the bottom of the screen to finish the work. BUT the menu icons , and come to think of it, options in the menus, don't work. Does anyone else have this problem? I went through the bug page on the debian site but I cannot find my problem.
View 2 Replies
View Related
Sep 3, 2009
I'm trying to get the options for rotate timeout to work and it does not.Timeout always seems to defaults to 1 sec no mater what value I set it to, which is fine but still the option does not work.I'm setting these according to the manpage for resolv.conf, please Let me know if I'm missing somethingHere is my resolv.conf file
domain spd.net
options timeout:1
options rotate
[code]....
View 1 Replies
View Related
Mar 19, 2010
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.
View 1 Replies
View Related
Nov 16, 2010
OS: Ubuntu 10.04 LTSEmulator: Wine 1.2Program: Propellerhead's Reason 5.0After some toil, I successfully installed Reason on linux. Hurrah.However, the default audio drive failed, and now it doesn't have an audio card selected. .. but this isn't my problem.I would love to go into Options to try and tinker with the settings, but I can't click on it. In fact, I can't click on anything in the window's toolbar (ie File, Edit, Options, Help, etc)The rest seems to work just fine.
View 2 Replies
View Related
Nov 19, 2010
I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:
Code:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 6 Replies
View Related
Oct 17, 2010
I broke my apache server. I went into the Yast administrator / HTTP Server and enabled the "rewrite" module. The server stopped working so I went back in and disabled it. Now the server still doesn't work and when I try browsing to any of the sites on it all I see is a page that says "No database selected" for any sites using databases. For static sites I get a 404 error. I broke rule #1 and didn't have back-up configuration files so now I'm stuck. What could the Yast module have done to my configuration files? I have restarted apache several times and even re-booted the computer.
View 3 Replies
View Related
Sep 24, 2010
I have two sites (actually more) configured in apache2. All sites have their own vhost file, which I enable or disable with a2enmod or a2dismod.
This works fine.
I have configured some SSL sites inside the vhost files, where I have created two different certificates. One for each site.
BUT, if I enable example2.com, it will always load the certificate from webmail.example1.com when i go to the ssl site webmail.example2.com, nomather what (because it comes first in the alphabet maybe) ?.
If I then uncomment the SSL site for example1.com if will work fine with webmail.example2.com, but of course then the site for webmail.example1.com is not working since it is uncommented.
So for some reason, it "falls back" to this site webmail.example1.com everytime, which I have absolutely no idea why it does this. All the other vhost running on port 80 configurations, works fine, but just not the SSL (port 443 ones).
Example1.com:
Code:
<VirtualHost *:80>
DocumentRoot /home/example1com/wwwroot/
ServerName www.example1.com:80
ServerAlias example1.com:80
[Code].....
View 2 Replies
View Related
Feb 24, 2010
I have a problem with the synaptic package manager. I can't refresh it.
View 3 Replies
View Related
Mar 31, 2010
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.
View 3 Replies
View Related
Jun 8, 2010
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:
[code]....
View 3 Replies
View Related
Jun 28, 2010
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.
View 9 Replies
View Related
Mar 12, 2010
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?
View 9 Replies
View Related
Jun 10, 2010
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.
View 6 Replies
View Related
Aug 29, 2010
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.
View 9 Replies
View Related
Oct 26, 2010
What's the best desktop search for Meerkat? I need one that indexes Evolution eMails as well as filesUsed to use Tracker, but it seems to have changed in Meerkat.
View 1 Replies
View Related
Jun 4, 2011
I'm try to install auto updates and keep getting'The package indexes are currently changed by apt-get.'How do I get around this problem?
View 2 Replies
View Related
May 26, 2011
I'm trying to install (L)ubuntu on an old AMD 1.66GHz based HP laptop, to dual boot with Windows XP. However I'm running into an issue that I haven't come across on any other machine before where after selecting "Install Lubuntu" from the main boot menu, it moves to the scrolling dots splash/loading screen and after ~30 sec or a minute it freezes. There is no error, it doesn't reboot or eject the disk even after several hours of sitting on that splash screen, with the dots frozen, no CD activity, and no HDD activity. I get the same result if I try to boot it as a LiveCD as well.
Can someone help diagnose whats going on? Is it possible changing some boot options will allow it to install? I'm not quite sure where to go with this one.
View 5 Replies
View Related
May 24, 2010
This is the 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. I see that it is usually a problem with the etc/apt/sources.list file. I tried to fix mine from looking at others but cant solve the problem.
[Code]....
View 6 Replies
View Related