[TYPO3] Virtual host and Google Maps API keys and connections OFFLINE

Tine Müller tinem at email.dk
Sun Oct 15 11:14:30 CEST 2006


This is my installation 
http://switch.dl.sourceforge.net/sourceforge/typo3wamp/typo3_v4-0_wamp_r1.zip 
and I haven't changed anything because I don't know if I SHOULD change 
anything?

In the file "httpd.conf" I have

<VirtualHost *:80>
   DocumentRoot C:/Programmer/typo3/htdocs
   ServerName localhost
</VirtualHost>

<VirtualHost *:80>
   DocumentRoot "C:/Documents and 
Settings/Tine/Dokumenter/php_sider/googlemapsbook"
   ServerName googlemapsbook
</VirtualHost>

And in the file "C:\WINDOWS\system32\drivers\etc\hosts" I have

127.0.0.1       localhost

127.0.0.1       googlemapsbook

Now when I write http://googlemapsbook/ I got the index.php file from this 
folder and when I write http://localhost/ I got the index.php from Typo3 
which is the welcome message so thing must be functioning.

BUT what do you do with Google Maps API keys to get this functioning?

AND what about the connection to the server/database and so on? In on of my 
files for online viewing which is functioning I have
<?php
$db_pass = "XXX";
$db_user = "XXX";
$db_name= "XXX";
$db_server= "XX";
?>

How do I know for the offline what this should be $db_pass, $db_user? I know 
what my database i $db_name s called and I think the server $db_server 
should be "localhost" because it's offline, right?

I really need some help, please.


-- 
KH
Tine Müller

homepage: http://tine_muller.homepage.dk/ 





More information about the TYPO3-english mailing list