LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-23-2004, 08:00 AM   #16
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15

Seems to be pretty much up and running now after several uninstalls and reinstalls. I downloaded Webmin, but didn't need to use it in the end.

After much messing around, Apache 2, MySQL and PHP are pretty much configured how I want them (for now).

The problem with permissions is still there to some extent. As long as there is, say, a index.php file in the apache doc root, then it pulls everything up ok on the browser. if however I try to access the folder itself, or a subfolder, it comes up with a 403 'You do not have permission to access [foldername] on this server'. It's only a small thing, but I'm not sure why it happens. I've looked in Webmin, but can't see any options I could alter to change it.

Anyway, I am several steps forward from where I was. I am just hoping to find a good Linux web editor now.

Thanks for all your help.
 
Old 11-23-2004, 08:10 AM   #17
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Quote:
Originally posted by Captainhero
if however I try to access the folder itself, or a subfolder, it comes up with a 403 'You do not have permission to access [foldername] on this server'. It's only a small thing, but I'm not sure why it happens. I've looked in Webmin, but can't see any options I could alter to change it.
Might want to check out Apache's settings on directory browsing (Document Options, Generate directory indexes I think it was called? or check out the settings for .htaccess files)
I'm messing with that myself.
 
Old 11-23-2004, 03:01 PM   #18
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
Got it.

In the end, I added a <Directory/> directive to the httpd2.conf file. My doc root is var/www/html, but when I tried to add

<Directory /var/www/html >
Options +Indexes
</Directory>

It wouldn't work, even though the docs here: http://httpd.apache.org/docs-2.0/sections.html say that it applies to that directory and any subdirectories. I found that it did work if you named a specific sub-directory, say;

<Directory /var/www/html/admin >
Options +Indexes
</Directory>

But this was a hassle to do, since I wanted index access for all the subdirectories (I find it useful sometimes when testing scripts). So in the end I put this in the httpd2.conf file:

<Directory ~ "^/var/www/html/.*/">
Options +Indexes
</Directory>

It works fine - all subdirectories now show as indexes if I go to them direct.

Last edited by Captainhero; 11-23-2004 at 03:02 PM.
 
Old 12-19-2004, 08:43 PM   #19
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,656
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Here's a new one I came across today, New for me anyway

http://urpmi-addmedia.org/
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install suse 9.3 from hard disk dred SUSE / openSUSE 9 08-02-2005 04:58 AM
How to install from hard disk? enemorales Fedora 4 11-20-2004 03:51 AM
Install from hard disk? zostrianos447 Mandriva 3 12-16-2003 02:09 AM
hard disk/install snocked Linux - Newbie 1 02-09-2003 01:07 AM
install 2 linux on the same hard disk? tb-guru Linux - Software 3 04-10-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration