Software :: Apache2 - How To Disable File Browsing Using IP Address
Oct 3, 2010
Whenever I type in my IP address or local domain name in my browser (http://myipaddress), my entire directory tree shows up in the browser. Normally I would not mind this behavior but I am networking my main computer through a router and if anybody within the range of the router types in my IP address in their browser (using their computer), I think they too will be able to access every file on my computer. How do I disable this?
I am running Linux Mint 9 (based on Ubuntu Lucid) and Apache2. I would rather just be limited to using Nautilus to connect to the HTTP server using a password.
View 4 Replies
ADVERTISEMENT
Jul 29, 2010
I remove "Index" in my /etc/apache2/sites-enabled/000-default file in order users not to be able to browse directories. I have sym link of a folder in /var/www/test (test is the symlinked folder). If I write in the address bar of the browser http://x.x.x.x/album/img_name.jgp I can see the picture, but I want contents not to be available. Is that different from file browsing and how to disable it?
View 8 Replies
View Related
Feb 17, 2011
how can i disable http when they browsing the URL instead of http should be https
i have apache server installed in centos
View 1 Replies
View Related
Aug 29, 2010
I am using Ubuntu Server 10.04 64bit. I am getting an Apache2 start up error after I setup my certificates and configure Apache2 for HTTPS. At the point on start up where I need to type in my certificate pass code I get a lockup due to the Apache2 process being in a hung state. I reboot if needed and switch to console tty2. When I type in the command.
Code:
I get the following error.
Code:
To correct the problem I do this.
Code:
From the output of the command above I look for the apache2 process and make note of its process ID. Then, I kill that process ID. For example, the command below has an apache2 process ID of 1131.
Code:
Next, when I run this command.
Code:
The apache2 server starts up and asks for my certificate password, accepts it when I type it in, and runs perfectly fine afterward.
Fortunately this instance of Ubuntu Server is running inside a VMWare virtual machine. I can just "pause" the virtual machine if I need to rather than going through this crude and tedious start up process too frequently.
Crude and tedious are feelings I'm having too frequently lately with Ubuntu Server.
View 5 Replies
View Related
Dec 27, 2009
Many Apache2 unused modules loaded. I'm going to disable some of them.But what is the command to disable the modules?
View 1 Replies
View Related
Apr 19, 2011
want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replies
View Related
Jul 27, 2011
I am facing two issues with CUPS - 1. I have installed cups 1.3.9 over OpenSuse11 x86. Please check below -
cups:/usr/share/cups/banners # cups-config --version
1.3.9
cups:/usr/share/cups/banners # cat /proc/version
Linux version 2.6.27.7-9-pae (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2008-12-04 18:10:04 +0100
I have added few printers over there and everything is working fine. I can also able to add - delete - modify any printers from "yast2 printer" command. I can also able to browse cups web interface via http://cups:631, but when I am going to manage the printers (start - stop - delete etc), none of the buttons are working in firefox5 not even in IE also. Older version of firefox is giving error as "This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection." All other buttons are working properly.
2. LINUX - LINUX Printing - OK
LINUX - WINDOWS Printing - OK
WINDOWS - LINUX Printing - NOT OK
While giving printing from Windows machine (Printer attached on Linux), there is no problem to coonect the printers, but unable to print.
View 3 Replies
View Related
Dec 3, 2010
I am running Ubuntu, and I was wondering if there are any settings that I can change in order to remove to make it so that users of the computer cannot delete the history in Firefox without a password. I am even willing to switch to another Internet browser if necessary.
View 1 Replies
View Related
Jan 14, 2011
I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted
63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main
[Code]...
View 4 Replies
View Related
Jul 28, 2009
I have a host and typing ifconfig I get:
eth0 Link encap:Ethernet HWaddr 00:0E:7F:4F:E4:09
inet addr:130.130.9.9 Bcast:130.130.255.255 Mask:255.255.0.0
inet6 addr: fe80::20e:7fff:fe4f:e409/64 Scope:Link
[code]...
and to do a test i want to disable or delete the ipv6 address, but mainteining the other configured parameters. Looking on the ifcfg config file I have
DEVICE=eth0
BOOTPROTO=static
BROADCAST=130.130.255.255
[code]....
and nothing about IPv6... Then, using ifdown-ipv6 could i remove only the ipv6 address?
View 11 Replies
View Related
May 28, 2010
I use fedora12-Gnome as my major desktop OS. Every basic need was fulfilled , until I tried Fedora12 KDE. The problem is with Bluetooth connectivity to my cell phone device. It connects to the cell phone and set trusted but I can't seem to see any option of "Browse files on Device". Does that mean in KDE I actually can not browse my Bluetooth connected devices?
View 1 Replies
View Related
Jan 9, 2011
I've been tinkering around with Linux over the past couple weeks. I've played arodn with both Ubuntu 10.10 and Linux Mint 10 and it's been a 99% positive experience. I have noticed an issue regarding my internet connection.
I've noticed when I download a file in Ubuntu (either from the software manager, BitTorrent or just a regular download in Firefox), browsing the web on my computer becomes near impossible. The download itself runs at a good speed for our DSL connection (around 200 KB/sec) but anything else near a standstill. Just loading ESPN.com on my PC can take a minute or two. Someone else playing a game in the house will go from a regular 100-200 ms ping to 5000+ right when the download starts. When I stop the download, internet browsing and gaming speeds go right back to normal.
The weird thing is the same thing happened when I installed Linux Mint 10. When I boot into my Vista partition, this isn't an issue. Downloading a file in Vista doesn't affect anything, but it's happening every time in both Ubuntu and Linux Mint.
View 1 Replies
View Related
Nov 5, 2010
What methods exits to restrict which directories a user may browse on the filesystem. I want to prevent php scripts from being able to view system files. I've seen two solutions, but neither are satisfactory:Chrooting a directory that the script is in, but this requires that all the necessary php libraries/files are moved/copied into the right place relative to the chroot directory. I don't feel that I have the technical ability to achieve this.Putting php into safe mode and disabling *nasty* php functions. But this is ineffective if just one obscure *bad* php function is missed.
View 5 Replies
View Related
Dec 19, 2010
How could I disable this annoying feature?
Half the time it selects the wrong address and sometimes I miss it and send emails to wrong people.
View 1 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
Oct 17, 2010
I've just installed Slackware 13.1 in two different laptops for first time. I have some strange internet browsing behaviour in one of the laptops. I've installed 2 internet browsers(firefox,opera) using the directions from Slackbuilds.org and there is also konqueror pre-installed. Moreover I installed Wicd network manager.
I can browse some pages e.g. ..... with firefox very slowly but NEVER facebook. I can browse almost any page, even facebook, with OPERA but very very slowly. The same goes with konqueror... Wicd shows that i am always connected with my WPA wireless network
Laptop details:
Quote:
Toshiba sattellite a100-209
//-----------------------------------------------
Processor Intel Celeron M 370 / 1.5 GHz
Databus-Speed 400 MHz
//-----------------------------------------------
Installed RAM 512 MB
Technology DDR2 SDRAM - 533 MHz
[code]....
View 7 Replies
View Related
Jan 5, 2011
I am working on Apache2, and am up to the 'test' phase of the process. I accidental sent the apachectl file to acapche2 instead of apache2:
[rootlocalhost sbin]# mv apachectl /acpache2
I should have done: mv apachectl /usr/local/apache2/bin
That didn't happen..
I echoed ; echo ./apachectl
./apachectl
Sooo, I know its alive, just have no idea where, help? I need to get this file back to start the HTTP Sever.
View 4 Replies
View Related
Aug 24, 2009
I am trying to access log file which located in /etc/log/apache2. I could get into the directory using `su`. I was able to run ls command under the directory and everything was file. I could run a command,
ls -d /var/log/apache2/*
However after I switched to my account, I got an error. sudo ls -d /var/log/apache2/* ls: cannot access /var/log/apache2/*: No such file or directory
I want to use this command in a bash script to get a list of log files. Should I write the script as root and run it as root?
View 3 Replies
View Related
Dec 31, 2010
I have a Debian 5.0.7 installed to my server. I try to install Apache and SVN to this server. I use this tutorial: http://www.howtoforge.com/subversion...-ubuntu-server
But is unfortunately not working.
My apache virtual host configuration file is:
Code:
This passwd file containing 1 user:
Code:
The rights for the passwd file:
Code:
And apache2 is running like this:
Code:
And if I try to login to my page I got an "Internal Server Error" page.
And my error is in the apache log is this:
Code:
So I'm a little bit confused about it. The apache2 should have rights to open this file. I checked it, the file is exist and the apache2 is have rights for it. I don't understand it.
View 1 Replies
View Related
Jan 17, 2011
[Code]....
What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129
[Code]....
View 9 Replies
View Related
Aug 18, 2010
I have a LAMP server set up (under Ubuntu 10.04 64-bit), and have a PHP application running on the Apache2 server. I copied the "default" website setup, and created a new one with the root at "/home/kota/WebRoot/".
When running my PHP application though, I come across a major issue: The script doesn't seem to be able to modify any files that are currently on the system, or create new ones.
However, this limitation is restricted to when running through Apache2. In other words, if i run it by typing "php5 myapplication.php" from the terminal, it works without a flaw. This leads me to believe that there is a permissions issue, disallowing Apache2 to create and modify files anywhere on my system.
Although it shouldn't make much of a difference, here is the basic information that I feel I should provide:
Code:
View 2 Replies
View Related
Feb 20, 2010
I'm doing a custom version of mod_musicindex, but can't get the cache to write like it's supposed to.example cache file: /tmp/testing/cacheNow, normally I think setting the dir testing and file cache to www-data:www-data would be enough. Permission denied. I tried 666 as well, figuring why not. Permission denied.777 works, but thats pretty far out there...Am I using the wrong user/group? I figured apache modules would run as apache.Do I need to use 777? 700 or 744 don't work, which is making me think it's not running as apache...
View 2 Replies
View Related
Mar 31, 2010
I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...
I now get the error as below:
My userdir.conf is like this:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
[Code]....
and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?
View 9 Replies
View Related
Apr 2, 2011
Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!
View 7 Replies
View Related
Feb 15, 2011
I am installing some SSL certificates on my web server, however I have a couple questions, as I'm not familiar with this process
1) I'm not sure which directory to put them in? What is good practice? Is /var/www/secure a good location so long as I restrict access to the secure directory?
2) I am told to edit the following in my ssl.conf file of apache2
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
However, I cannot find this file, ssl.conf. Nor can I find the above directives in my main apache2.conf file. Where is the ssl.conf file? Or alternatively, could I just add the above directives to my apache2.conf file?
View 2 Replies
View Related
Jun 1, 2010
I'm trying to setup apache2 to drop a core file when it crashes. I know that you need to set the CoreDumpDirectory directive in /etc/apache2/apache2.conf and run "ulimit -c unlimited" from the command line (and restart apache after the ulimit command). But, on a reboot, even though the output of "ulimit -a" shows unlimited, apache2 will not create a core dump file unliess you set ulimit -c unlimited again and restart apache2. There must be a way to configure apache2.conf or something so that ulimit -c unlimited is set prior to apache2 starting, no?
View 2 Replies
View Related
Aug 16, 2011
How can I allow multiple SSL certificates in the default-ssl file in /etc/apache2/sites-available/ folder? I tried
Code:
NameVirtualHost *:443
And
Code:
<VirtualHost *:443>
but I get the error
[Code]...
View 2 Replies
View Related
Nov 11, 2010
I have a server running both apache2 (default port) and squid (3128 port) I set an squid ACL so my LAN 192.168.1.0 gets filtered. ok all works fine except for external web petitions. When i try to access my web server from the outside, using my public ip, i get a SQUID DENIED. i guess that is because in squid ACL's there is something like: http_access all deny at the end of the file. How can i allow external petitions to my web?
View 4 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