Today i've just successfully installed ISPConfig on my first Linux Server. But after the install php4 seems to be disabled. ISPConfig Setup commentet out the Lines in /etc/mime.types #application/x-httpd-php phtml pht php #application/x-httpd-php-source phps #application/x-httpd-php3 php3 #application/x-httpd-php3-preprocessed php3p #application/x-httpd-php4 php4 why this?
ISPConfig commented them out and re enables them on a per website basis. Create a new website, check the .php checkbox for this site and you will see that php is enabled for this vhost.
Have a look at this thread, starting with post #5: http://www.howtoforge.com/forums/showthread.php?t=144
(seem you are from germany, me too ) hmm... i created a new website enabled the checkbox "PHP Skripte" and the i put a php file ( only with phpinfo() ) in the "web" directory of this account. there was no php interpretation
Please have a look at the Vhost_ispconfig.conf, it is located in /etc/apache/vhosts/ or /etc/apache2/vhosts/. Is PHP enabled inside the vhost configuration that ISPConfig has written?
ISPConfig only supports name based vhsosts, not IP-Based vhosts, so the page URL you posted above cant be from an ISPConfig vhost.
hmm... i have the domain (www.wizzzard.de) these is for now hostet by another provider. With this Domain i want to move to my dedicated server which is on 85.31.186.56. (the reason why i chosen an dedicated server is because i have several other domains which will move soon , only when i understand this whole thing) another way to reach the domain is by http://85-31-186-56.blue.kundencontroller.de/www.wizzzard.de/web/
With these type of URL you will never see a page hosted in an apache name based vhost. To test your domain on the server: 1) search the windows hosts file, its normally in c:\windows\hosts add a line like this: Code: 85.31.186.56 www.wizzzard.de Then call http://www.wizzard.de in your browser and you will see the site on your new server tthat is served by the correct apache vhost. Dont vorget to remove the line later!
Thanks! This works really fantastic! You are a great help! Only to get a little bit better understanding of that with this alterd "hosts" file my computer sends the request for the webpage (www.wizzzard.de) to my server (85.31.186.56) instead to some DNS Server? right? But what are my steps to get the site from kontent ( <-- this is the provider where it is now) to my server ? <-- with this i don't mean the copying of the files, i mean the DNS resolving or whatever but i think you understand me
The hosts file tells your computer directly that www.wizzzard.de is on 85.31.186.56 so it does not have to perform a DNS lookup. You have to change www.wizzzard.de's A record (and probably also the one of wizzzard.de) so that it points to 85.31.186.56.
Code: :~# dig ns wizzzard.de ; <<>> DiG 9.2.1 <<>> ns wizzzard.de ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23272 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2 ;; QUESTION SECTION: ;wizzzard.de. IN NS ;; ANSWER SECTION: wizzzard.de. 86387 IN NS NS1.KONTENT.de. wizzzard.de. 86387 IN NS NS2.KONTENT.de. ;; ADDITIONAL SECTION: NS1.KONTENT.de. 37 IN A 81.88.32.25 NS2.KONTENT.de. 288 IN A 81.88.34.25 ;; Query time: 3 msec ;; SERVER: 81.169.163.104#53(81.169.163.104) ;; WHEN: Wed Jan 4 22:01:04 2006 ;; MSG SIZE rcvd: 105 The name servers for wizzzard.de are ns1.kontent.de and ns2.kontent.de. That's where the DNS record must be changed (by whomever is responsible for these servers).