Thanks nate.... Well, I'm not trying to use virtual hosts... I'm trying to run php from users directories (ie ~username), and instead of executing the php files, the browser asks what to do with the files and let's you download them... This same files work fine with apache and php4 under potato, but I can't make it work in woody...
Any ideas? Thanks! On Fri, 2002-01-04 at 03:28, nate wrote: > <quote who="Alexander Wallace"> > > Hello there! I'm having problems getting php4 to work in woody... > > It all installs good, the httpd.conf file has the line to load the > > module, etc... But php files don't run, thet get downloaded when > > looked at with a browser... Mime types has an entry for php, so... > > Can anyone help me here??? > > what does it say? heres how i have a virtualhost > setup to use php: > NameVirtualHost 10.121.110.48 > <VirtualHost 10.121.110.48> > ServerName webmail.linuxpowered.net > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /home/squirrel/public_html > ScriptAlias /cgi-bin/ /home/squirrel/cgi_bin/ > ErrorLog /var/log/apache-ssl/webmail.linuxpowered.net/error.log > CustomLog /var/log/apache-ssl/webmail.linuxpowered.net/access.log > combinedAddType application/php4script .php > Action application/php4script /cgi-bin/php > DirectoryIndex index.php > </VirtualHost> > > in the /home/squirrel/cgi_bin directory i have a link: > lrwxrwxrwx 1 root root 21 Dec 23 19:10 php -> > /usr/lib/cgi-bin/php4 > in my config symlinks only are followed if the ownership > is the same, so it must be root if /usr/lib/cgi-bin/php4 > is root. > > i do the same on other systems..always worked. don't know > where i saw it, i too had problems when i first started to > try to use php .. > > nate > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >