|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
changing httpd docroot on mandrake
hi i installed mandrake with httpd,php,mysql it was all working perfectly then someone told me that i should change to docroot to my home dir so i hoped into my httpd.conf file and changed to docroot copied all files over restarted httpd and now i get
Quote:
i tried changing the docroot back and moving files back and it still does the same thing ![]() am i missing something do i have to change any permissions in httpd.conf, do i need to edit httpd.conf~ instead of httpd.conf ? should i do uninstall httpd,php and reinstall them? nexe |
|
#2
|
|||
|
|||
|
You need to be sure that the user apache runs as (default-nobody) has read and possibly execute(can't remember) permissions on the docroot directory you specify in httpd.conf.
|
|
#3
|
|||
|
|||
|
You need global execute permissions on the DocumentRoot directory. And damonbrinkley, the default user varies depending on how it's installed
(On Debian, for example, it's www-data, which I vastly prefer to nobody) |
|
#4
|
|||
|
|||
|
ok i'm now all its doing is displaying the code
![]() |
|
#5
|
|||
|
|||
|
Quote:
The code of what? (I have a sneaking suspicion you mean index.php in your DocumentRoot, but I can't be sure) |
|
#6
|
|||
|
|||
|
sorry yes the code of index.php
so it looks like the documentroot is working. |
|
#7
|
|||
|
|||
|
strike its all working now thanks for your help
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > changing httpd docroot on mandrake |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|