similar to: Simple web server with Apache: web page permissions ?

Displaying 20 results from an estimated 10000 matches similar to: "Simple web server with Apache: web page permissions ?"

2008 Jan 29
2
Apache: User and Group
Hi, I'm currently setting up a simple web server. So far, everything (PHP, MySQL) works very well, but I admit I never gave security that much thought. Time to change that habit. First things first. The RHEL Deployment Guide lists Apache's configuration directives alphabetically. Instead of going through them from A to Z, I'll try to start with what seems more important, and then
2008 Nov 25
2
adduser vs. useradd
Hi, To add a user to the system on the commandline, I usually use the adduser command. # adduser newuser And that's it. I've been using that command probably out of an old habit, since I've been a long-time Slackware user before. But now I wanted to dig a bit deeper, and some details puzzle me. Whereas on Slackware, 'adduser' is an interactive shell script to create a
2008 Oct 26
3
Simple audio recording app?
Hi, I'd like to get my microphone to work (mainly to use it with Skype). I've just been looking for a simple audio recording app, as I vaguely remember having seen such a thing before, only I can't seem to find it anymore. I'm using the default GNOME desktop with the latest CentOS 5. Any suggestions? Niki
2017 Dec 02
5
Apache and web content permissions
Le 02/12/2017 ? 14:19, Leon Fauster a ?crit : > I would build a rpm package of wordpress (everything can be defined > there like permissions etc) The initial question was: WHAT permissions? > and disabling the automatic update > function in wordpress. Build once it can be installed on all (two > dozen) webservers automagically (local yum repository) ... externe That would mean
2010 Jul 10
8
Simple solution for small network in a school ?
Hi, I have to install a small network in a school in a nearby village. The network will be Linux-only, one server and fifteen desktops. Here's the idea. 1) Authentication should be managed centrally on the server. 2) User home directories should also be on the server. 3) Users should all have disk quotas, something like 1 GB per user. 4) Some shared directories should be read/write for
2009 Sep 19
2
Apache configuration: minor problem with special characters
Hi, I'm currently fiddling with protecting sections of a website with .htaccess. Here's an example: <Files .htaccess> order allow,deny deny from all </Files> AuthUserFile /etc/httpd/htpasswd AuthName "L'acc?s ? ce site est restreint." AuthType Basic require valid-user The configuration works OK (after having created a valid user), but unfortunately,
2009 Oct 09
5
Simple way to banish IP addresses ?
Hi, I just set up a web server... and my bandwidth is being eaten by some chinese folks trying to brute-force-ssh their way into the machine. Is there a simple way to banish either single IP addresses or, maybe even better, whole IP classes ? I know it's feasible with iptables, but is there something more easily configurable ? Cheers, Niki
2007 Jun 10
1
Problems with UserDir directive on CentOS 5
Hi, I'm currently setting up a local LAMP server to test various apps. Starting from the out-of-the-box configuration of Apache, I test it, and it's OK: http://localhost shows Apache's default page OK in Firefox. Now I edit /etc/httpd/conf/httpd.conf and replace 'UserDir disabled' by 'UserDir public_html'. I restart Apache. Then, as a normal user (kikinovak): $
2017 Dec 02
7
Apache and web content permissions
Hi, Until a few months ago, when I had to setup a web server under CentOS, I assigned (I'm not sure about the correct english verb for "chown"ing) all the web pages to the apache user and group. To give you an example, let's say I have a static website under /var/www/myserver on a CentOS server running Apache. Then I would configure permissions for the web content like this: #
2009 Jun 07
3
Basic setup for vsftpd ?
Hi, I'm currently fiddling with G4U (Ghost for Unix), and I need to setup a local FTP server in order to get it to work. # yum groupinstall "FTP Server" --> installed vsftpd Here's what I'd like to do : * no anonymous access * only one user (user 'install' / pass 'install') The machine I'm installing it on has a static IP ok
2009 Jul 20
5
SSH without password on CentOS 5 ?
Hi, I'd like to use SSH without password so I can use it in scripts (for example in combination with rsync to do backups). I have Carla Schroder's "Linux Cookbook" and I'm trying out the various receipts, but the one for SSH without a password doesn't work. The book is slightly dated, and I wonder if SSH included in CentOS works differently. Any suggestions? Niki
2008 Sep 13
5
Changing hostname?
Hi, I recently made a CentOS install on a machine with an unsupported network card. I had to add the driver for it later, once I finished the install. For now I have this: [kikinovak at localhost ~]$ hostname --fqdn localhost.localdomain Q: how would I change this to something like calimero.local? Here's what I *would* do, but I prefer to ask before. 1) edit /etc/sysconfig/network and
2009 Oct 28
6
Rsync and full path of filenames
Hi, I have a bit of a tricky question about rsync. Let's say I want to backup a bunch of configuration files with rsync, in a script. What I don't want to do : a full snapshot of /etc. What I want to do : backup only those files I need, in an otherwise empty directory tree. In my script, I'd begin with a list of the files I effectively want to backup. Something like :
2010 Mar 01
5
Slightly OT: check creation of a group
Hi, I'm currently writing an install script for an application, and my already limited Bash skills are a bit rusty. I want to check if a group exists, and if it doesn't, then create it. Only thing I found is: if [ grep medintux /etc/group ]; then continue else groupadd medintux fi Apparently I can't seem to "negate" the test, e. g. something like if !(grep medintux
2007 Jun 29
4
Retrive data from repartitioned / reformatted hard drive?
Hi, The title says it all. One of my clients showed me a 120 GB hard drive that his daughter accidentally formatted, according to him. I booted the first CD I had at hand - a Slackware 11.0 install CD - and launched cdfdisk /dev/hda. cfdisk informed me that there was even no partition table. So much for reformatting. cfdisk only shows me 120 GB of free space. Any way to retrive data on this
2007 May 15
3
GRUB and vga=788
Hi, On a minimal (e. g. without X) server install, one of the first things I do is add 'vga=788' to the 'kernel' line in /boot/grub/menu.lst, so I can use the framebuffer in 800x600 mode and have a better readability in console mode. However, I tried this on my minimal CentOS 5 install, and right after GRUB, the screen just blanks. I add that this (test) machine ran maybe a
2015 Mar 23
4
Facebook CentOS group close to 15.000 members!
Le 23/03/2015 17:26, Les Mikesell a ?crit : > There is a real simple answer to privacy on facebook. Just don't post > anything there that you would not want to be public. Just like this > mail list. I recently joined that list and wanted to publish a simple link to my technical blog dedicated to CentOS (http://kikinovak.wordpress.com). There's no commercial interest behind it,
2014 Oct 11
2
Hi again & problem with minimal CentOS and Github
Hi everybody, I'm back to CentOS after a long period during which I've been using mainly Slackware. I still use Slackware for teaching and for my local clients (on servers and desktops), but right now, I'm planning to update my own documentation about CentOS, which is still based on version 5.x. First things first. For the moment I have a sandbox server in my office with a
2010 Apr 16
6
CentOS-friendly wiki engine ?
Hi, One of our local town halls has asked me to implement a wiki-based website dedicated to ecological farming. The wiki is supposed to host a variety of documents in text, video and audio format. I've never used any wiki engines myself. Is there any one you can recommend in particular ? I'm using CentOS 5 on the server, so I would be glad to use a solution where I don't have to
2009 Nov 15
3
Problem with Yum on CentOS 5.4
Hi, I recently downloaded and burned the 5.4 DVD ISO. All my machines are now running 5.4, but these are installs I performed with 5.0, 5.1, 5.2 etc. and then progressively upgraded. Now I had to use 5.4 because a friend's laptop, a brandnew Fujitsu Esprimo Mobile, refuses to boot anything under 5.4. After a fresh install of the base system, first thing I do is 'yum update' with