LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-10-2004, 02:46 AM   #1
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Rep: Reputation: 30
A Few minor problems...


1) when I browse to a folder on my server, it doesnt load index.php as default, how can I set this so that if index.php is in the folder it will automatically load it?

2) I want to edit the crontabs file to run an application every 15 minutes, but when I enter 'crontab -e' to edit the file, It opens as read only and I cant edit the file at all. I've tried but as root and as a normal user.

Hope someone can help

Thanks
 
Old 06-10-2004, 05:44 AM   #2
spiky
LQ Newbie
 
Registered: Oct 2002
Location: Hamburg, Germany
Distribution: Suse 7.2, Debian 3.0
Posts: 11

Rep: Reputation: 0
1. In your apache httpd.conf, find the line

DirectoryIndex index.html index.php

It shows the order of files that are opened by default.

2. Find your crontab file, edit it with your favorite editor and then run 'crontab -e' to reload the crontab file (just exit the editor when it opens)

You usuallay find the crontab file in /etc/crontab or /var/spool/crontabs (I don't know redhat)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
minor problems ahmed_alzahrani Linux From Scratch 2 09-05-2004 03:21 PM
Minor Debian Problems 0x86 Debian 1 07-19-2004 02:15 PM
some minor problems restless Linux - General 2 02-06-2003 03:00 PM
Minor problems Gai-jin Linux - Newbie 4 01-07-2003 09:11 PM
RH 7.2 instalation minor problems ... havitush99 Linux - Software 2 02-22-2002 11:34 AM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration