OpenSUSE Network :: Block Directory Browsing On A LAMP Server?

May 23, 2010

I currently have a LAMP server running with multiple virtual hosts configured. I have one virtual host with a sub directory that contains pdf news letters.do not want the directory browsable and tried putting an index.php file that re-directshe user to the root directory but when I go to the [web address]/[directory name] in any browser I see the contents of the folder listed.

Currently the news letter list is drawn from a database table and displayed as links on a page in the root directory. The links point to the file name in the sub directory. How do I block users from going to that sub directory and seeinge contents of that directory listed? Would I add another <directory> statement in the vhosts.conf file? If so how would I structure that directive?

View 1 Replies


ADVERTISEMENT

OpenSUSE Network :: Setup An Apache Server On Computer Which Will Allow Browsing Of Files In A Specific Directory And Subdirectories?

Jun 13, 2011

I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.

I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).

When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:

Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.

Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)

View 4 Replies View Related

OpenSUSE Network :: Give User Only FTP Access / Browsing Rights For Certain Directory?

Feb 12, 2011

Is it possible to give user only FTP access / browsing rights for certain directory within /srv/www/htdocs and prevent same user to browse all other directories, even user's /home directory on that server?

View 8 Replies View Related

OpenSUSE Network :: Lamp Server To Send Automated Emails Using Cable Providers SMTP Server?

Jun 19, 2010

Somewhere out there there has to be someone that can help me set up my lamp server to send automated emails using my cable providers SMTP server

View 2 Replies View Related

OpenSUSE Network :: Lamp Server With Specific Requirements For PHP

Oct 23, 2010

I'm needing to stand up a Lamp server for a SugarCRM migration. I've been told I need to ensure php 5.2 on the box along with ensuring several mod's are installed as well for php and apache. I was planning on using the lamp provided from xampp (apache friends) but they're current build is using PHP 5.3, any suggestions on how to get around it? If I have to build the whole thing from several packages (apache, php, mysql) then no problem, but I really like the myphpadmin page that comes with the xampp installer.

View 2 Replies View Related

OpenSUSE Network :: Configure Lamp Server For Sending Mail

May 16, 2010

I have a LAMP server and need a web page to send email messages. I could do it with my Win 2k server through my cable service but can't seem to get it to work here.

View 9 Replies View Related

OpenSUSE Network :: Setting Up LAMP Server To Use The Mail() Function?

May 23, 2010

setting up my LAMP server to send email messages through my cable network SMTP server. If you respond please realize that I am new to linux/apache. I cannot send emails out with the built in email server on Suse and don't even know if it is enabled. I used to do it with my IIS/ColdFusion server but there were options for the outbound SMTP server and authentication. I have searched and think I have to use something called Pear but to be honest the instructions are vague to say the least and it all looks greek to me.

View 2 Replies View Related

OpenSUSE Network :: Port Forwarding & Samba Access For An Apache Lamp Server?

May 23, 2010

How do you configure the firewall to allow external web access (it's a LAMP server) and internal access for samba shares ?

View 6 Replies View Related

Server :: Virtual Hosts On LAMP Not Going To Right Directory Externally?

Jul 16, 2011

I created LAMP server with a wordpress site. I created a sites-available file for the wordpress file pointing to the wordpress directory. Within my server it goes to the site properly. However I also made this server a DNS server, had another test pc use it as a DNS server and it only got the default apache page unless I added /wordpress to the url which makes it point to the directory within /var/www/ that it belongs, but then the wordpress links don't work and this is not what I want it to do anyway. I do not understand why it is working properly internally but not externally. It makes me think maybe the sites-available file is not allowing outside access appropriate permission to use it or something. Can somebody please point me in the right direction I have been working on this for weeks and I am starting to get really frustrated with it. Tell me what config files can help you figure out my issue. Also I eliminated the default index.html file so it wouldn't use it, then placed the index.php file from wordpress in /var/www/ root but in that configuration it doesn't load anything by default but will still work if you point to /wordpress. I believe I have to make some change to my apache2 configs to allow outside PCs to be pointed to the right root directory for the virtual host like is being done internally, I just don't know where to start.

[Code]...

View 4 Replies View Related

OpenSUSE Network :: Error As "This Address Uses A Network Port Which Is Normally Used For Purposes Other Than Web Browsing

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

OpenSUSE Network :: Network - Browsing The Internet With Domain Names Does Not Work

Jun 25, 2010

In short: browsing the internet with domain names does not work. The long version: I've configured my network with DHCP and ifup. Ping works on my internal net and with servers in the internet. Dig work's too! I get the right IP to the requested domain. When i try to access the internet using firefox or even wget i get an DNS error. For example wget is showing the following error: Resolving heise.de... failed: Name or service not known. wget: unable to resolve host address 'heise.de'

Again dig show me the right IP and if i add the entry to /etc/hosts it work's too! I've even tried it with manually setup of ip address, nameserver and default gateway but with the same result. Switching off the firewall has no effect on this problem, too.

View 9 Replies View Related

OpenSUSE Network :: No Internet Except For Web Browsing / What Went Wrong With It?

Jan 18, 2011

I'm hoping someone might be able to suggest what went wrong with my networking, so I can continue using OpenSUSE! I've been running version 11.3 with KDE (64 bit) for a few months now (dual booting with Ubuntu); everything had been working fine until about a week ago - the only issue I had was that some internet-based things seemed a bit slower than in Ubuntu.

Anyway, after the last set of updates I installed (around Jan. 6th; there was a kernel update and a few other things. I'm not sure where to locate the history in YaST) I lost functionality of all internet-based programs, with the exception of Firefox. (I'm using Firefox in openSUSE right now to access this forum, for example.) Although I can browse the web just fine, I can't use Thunderbird to check email, the weather and comics plasma applets don't work, and the system can no longer connect to the software repositories.

I didn't change any settings (to my knowledge), but somehow Internet access is being denied to most of my system!

View 9 Replies View Related

OpenSUSE Network :: 'Looking Up' Sites Takes Several Seconds When Browsing

Feb 28, 2010

I recently installed 11.2 and Firefox takes several seconds to connect to each site.I pinged my machine, the gateway, the DNS servers (by IP address), and other various sites (by domain name), all without delay. But when I browse using Firefox, there's a 3-second delay while "looking up", and finally it connects. Any ideas what's causing this? I'm using Gnome and don't have another browser installed to test.

View 3 Replies View Related

OpenSUSE Network :: Samba Share Browsing Not Working But Then It Does?

May 31, 2010

My samba seems to be mis-configured somehow. I had been using Ubuntu 10.04 and my samba browsing of my samba shares on my HTPC (running XBMCLive) had all been working fine. Then I upgraded to openSuSE 11.2 64bit. Great OS by the way!Ok so I chekced my other PC's running Ubuntu and going to the network folder I see my XBMCLive machine. Double click him and now I see my shares on that PC. So now I know its specific to my SuSE install.

Now on SuSE if I use Dolphin file manager and go to Network -> Samba Shares -> workgroup I dont see anything. And then down the bottom of the window I will see timeout error on workgroup. "workgroup" is the correct workgroup. All the services are running winbind, smbd, nmbd, xinit, swat. Firewall disabled.However when I try the above and I get the timeout error I then go to the address bar in Dolphin where it has smb as the drop down item and in the text field type in the XBMCLive PC ip address and hit enter. Then immediately I can see my shares!!! So it is working but I cant see my shares under Network->Samba Shares->workgroup.I notice in my samba error logs for log.smbd I keep seeing this;smbd_open_once_socket: open_socket_in: Address already in use

View 8 Replies View Related

OpenSUSE Network :: Browsing Secure Sites Is Very Slow

May 21, 2011

I've recently installed openSUSE 11.4 (64 bit) on my system and am experiencing severe performance issues with websites using https (any site using https). Page loads over https take anywhere between 30 seconds to 2 minutes. It's the same issue posted here Secure sites load slow or not at all -- there was no confirmed solution.

- My router/hardware configuration has not changed in a long time and I've run Ubuntu, Arch Linux, and Windows XP on the same machine within the last year and have not had any issues.
- I also have a laptop running Arch Linux (kernel 2.6.38) and this problem does not occur using Firefox 4 or Chrome. To add to the madness this problem occurs while running Firefox 4 inside a Windows 7 guest via virtual box, but NOT while running IE 8 inside the same guest.
- This issue occurs using Firefox 4, Chromium, Opera, Konqueror, and Arora.
- I've disabled ipv6 in Firefox via about:config.
- I've disabled ipv6 in yast and have attempted to use both the "ifup" and "networkmanager" options.
- I am not using a proxy server.
- I've attempted the fix posted in the Ubuntu forums for a similar problem [ubuntu] [SOLVED] Banking Site is very slow.

View 7 Replies View Related

Ubuntu Servers :: Attaching Server (with LAMP) To A Windows Network

Oct 30, 2010

I am sure there is a nice guide out there somewhere but I cannot find it. My question is: The company I work for has a fully windows environment, servers and clients. The current server is on a Windows 2000 Server and I plan on replacing that. I wish to use Ubuntu server with Joomla for this purpose. This is my first venture into a purely command line interface, although I have played around with Ubuntu desktop in the past. My first question right now is: How do I log onto the Windows Network (active directory) from the ubuntu server. eth0 is reporting a valid internal IP on the network, so its been picked up okay.

Edit: I also want to assign a static internal IP address instead of grabbing from the DHCP. Edit2: Thinking about it, as the ubuntu server and windows server can ping each other do I even need to log into the domain? The server will only be serving web pages.

View 3 Replies View Related

Server :: Multiple Network Cards In LAMP Stack - How To Monitor

Nov 22, 2010

I'm wondering a couple of things about my LAMP stacks:

1) How do I get a list of all the network cards installed in a linux box? I've run this command and it shows 2 network cards which is probably all of them:
Code:
mii-tool -v

2) How can I check the percent utilization of a given network card? I.e., at any given time, what linux command will tell me the how much of a network card's bandwidth is being consumed? I've checked both ethtool and mii-tool and I don't really see any helpful stats.

3) How can I make sure that a linux box will optimally use both network cards? I'm a bit fuzzy on how IP addresses and network cards and hostnames work together.

View 1 Replies View Related

OpenSUSE Network :: PHP Con't Resolved While OpenSUSE11.2 LAMP Updated

Apr 22, 2010

PHP can't resolved while openSUSE11.2 LAMP updated.2010-4-21

View 1 Replies View Related

OpenSUSE Network :: Set NFS Server On 11.3 / Cannot Mount A Directory Of Machine On Another?

Apr 5, 2011

i have a suse 11.3 machine and i cannot set it to be a NFS server that is i cannot mount a directory of this machine on another one running as well a 11.3 while i can mount without problem a directory from 10.0.i do not know where to start as the NFS server option seems to have vanished from YAST.

View 5 Replies View Related

OpenSUSE Network :: Slow Internet Browsing / Make It Fast?

Oct 6, 2010

I'm running 11.2 on a Dell Latitude D630. Everything has been great other than issues with Suspend and hibernate not working correctly. However after about a month of use browsing the web has really slowed down bad. It doesn't seem to matter if it's in Firefox or Chrome either. I am using a wireless connection that is getting the signal at 85-95%. Even though I still tried using a direct cat-5 connection to the router and it was still slow as well. I have the fastest broadband connection my cable offers and my windows boxes on the same network are still flying.

View 2 Replies View Related

OpenSUSE Network :: Setup LAMP On An Old Pc Installed Apache, MySQL?

Jan 16, 2011

i am trying to set up LAMP on an old pc i have installed linux, apache, mySQL and PHP following this guide Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.3 (LAMP) | HowtoForge - Linux Howtos and Tutorials. i have installed phpMyAdmin but when i try and acess it i get this error

Error
MySQL said:
Cannot connect: invalid settings.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

[Code]...

View 1 Replies View Related

OpenSUSE Network :: NIS Setup With User Home Directory On One Server

May 4, 2010

I am attempting to setup the following:

1.User login/authentication via a single NIS server.
2. User home directory should also be on the Same NIS server.
3. If possible to setup a single shared home directory for all users.

OpenSuse version 11.2 There are twelve workstations from which users will login using the NIS authentication. I have succeeded in setting up NI server. However login fails as the home directory is not accessible.

View 9 Replies View Related

OpenSUSE Network :: User's Home Directory Saved In Samba Server Not Locally

Mar 27, 2011

Continuing with my assigned task of migrating the company's PCs to GNU/Linux (openSUSE as server for GNU/Linux clients) I managed to set up a DC with roaming profiles for the few remaining Windows users, user validation and login for the openSUSE boxes and a few network shares with different rights. I know there are no roaming profiles for GNU/Linux and I can live with that but I would like to specify wich users/groups would have their home directories saved locally (notebook users) and which will save them on the Samba server.

By default home directories are saved locally but somehow Samba creates a minimal home directory for each user under /home in the Samba server. How can I tell the client box to use that directory? and how can I set up the few notebook users to save it on their disks? Maybe using the options under Yast > Security... > Users and groups management > Users (LDAP Users filter) > and then select the user and use the "Manage Samba account parameters" plug-in for specifying the different paths cant achieve this.

View 4 Replies View Related

OpenSUSE Network :: Block MSN Or Myspace IM?

Apr 17, 2010

how can I block MSN or Myspace IM on opensuse, do I need to modify the firewall configuration file?

View 1 Replies View Related

OpenSUSE :: Run LAMP In A Virtual Machine And Access The Web Server Via A Browser On The Host?

Aug 31, 2010

How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?

View 3 Replies View Related

OpenSUSE Network :: How To Block An Outgoing Firewall

Mar 11, 2011

How I can refuse an outgoing connection on opensuse firewall by default outbound policy is permissive, and the p2p I explicitly deny an outgoing, according to protocol, remote port and local port.

But I can add rules as how to run opensuse firewall rules are permissive only for inbound traffic and so I can not specifically deny an outgoing connection.

Before using fwbuilder is very powerful and configurable but now I'm with suse for convenience but want to know if you can do what I want, if not I will have to use fwbuilder.

View 5 Replies View Related

OpenSUSE Network :: Block All Ports But Port 80 With Iptables (DMZ)?

Jun 25, 2010

I have a Suse 10.3 router with 4 network cards. 1 is to connect to the big network and thereby also the internet, 2 are for 'client' subnets and I want to use the last one as a DMZ. In this DMZ will be a web server which has to be accessible from the other 2 subnets and from the big network. I could do it with a few simple clicks in Yast firewall, but I have some issues with this firewall and there for I want to use it as minimal as possible, using Iptables.

So now I'm struggling a bit with Iptables. Basicly what I'm looking for is how to block all ports but 80 in this last subnet with iptables.

View 5 Replies View Related

OpenSUSE Network :: Block A Site For A Certain Time Period?

Dec 6, 2010

I'm trying to block a site for a certain time.How to Block(deny) perticuler website in certain times of the day , by using squid ? and it seemed promising.I added the lines to my squid.conf

acl office_time time MTWHF 3:00-21:00
acl bad url_regex "/etc/squid/block.acl
http_access deny bad !office_time

created a block.acl in the same directory and restarted it.

View 2 Replies View Related

OpenSUSE Network :: Block HTTP Requests From Other Computers?

May 30, 2011

My computer shares an internet connection using an ADSL router.There are other three machines.I have set up a Apache server for learning purpose and I want it to be inaccessible from anywhere else including the PCs in the network.When I enter my ip-address assigned in the network (192.168.1.1xx) from other computer,I get my ppages and I dont want that.

How can I block HTTP requests from other computers?

View 6 Replies View Related

General :: Disable Directory And File Browsing?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved