On Tue, 2003-01-07 at 18:44, Erik Janssen wrote: > Hi all, > > I'm a newbie to Linux, just migrated a few weeks ago after over 10 > years of Dos and Windows use....I even didn't install a Windows > partition. > > As webmaster of a website I need Apache running for local testing > of scripts, php etc. And this is one of the few problems I can not > solve....Could you help / give me an URL to a former discussed > topic that's similar? > > Thanks in advance, > Erik > > The problem: > ___________ > 1 Mandrake Linux 9.0, including all updates is installed > 2 Apache is installed default with the ML installation > 3 It is running (I can get the default page by requesting localhost) > 4 As root I even can get the apachectl starting; stopping etc. > 5 I would like to point to another standard folder, but if I do that in > httpdconf => no result, I tried all options I could think of (even in combination > with that other conf file and after the include line of that file).
If you use the Apache controls via Webmin (https://localhost:10000) you should be able to setup a "virtual server" pointing to whichever directory structures you desire - along with associated mime-types and default extentions (HTML, SHTML, ML, whatever) - the PHP modules, once you fire up the Apache server configuration tool in Webmin, will be automatically configured at that point - so any changes you want to make to the modules (PHP and all the others) can be done as well. > 6 Even after first stopping Apache (as root) and then editing didn't result > in the way I would like it Editing the conf files isn't always a fun affair... > 7 Renaming the index.shtml in de default folder als does not result in > presenting the content of the default folder, it does result in a 403 page. Give it a go through Webmin and let's see how far it gets... > 8 Can I configure Apache for multiple users? SO I do not need to login as > root (which is pretty risc-full with the GUI's). With Apache configured via Webmin, you'll be able to setup the virtual servers literally however you want - per user or per IP (virtual) or per port > 9 Is there -at this moment- a way to check if PHP is working. > 10 And if not, how do I get it working? Best way to see if PHP is working is to get a PHP set of pages setup in a directory under /var/www/html - make a directory for them - and then fire up a browser pointing to that directory. Being that PHP is installed by default, you shouldn't have a problem - but overall, get the Apache configuration going in Webmin first so that all the modules are confirmed and configured. -- kuhn media australia - kma.0catch.com ------------------------------------- stephen & katherine kuhn -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * ------------------------------------ Fan: "Aha ha, fan beats man."
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com