Re: Apache File Quesiton
| From: | Gary | Date: | Sat, 10 Jan 2009 13:22:11 +0000 |
| Subject: | Re: Apache File Quesiton | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285940@lists.php.net to get a copy of this message | ||
Ok, not yet...
If the file I want to test resides in My Documents\Sites\nameofsite, I set
my "Test server folder" in DW to map to here...correct?
Now down to URL prefix, I have tried
http://localhost
http://localhost/sitename
C:/xampp/apache,( which btw is the Site Root as described in "httpd.conf )
C:/localhost/
and a few other variations that are escaping me at this moment, but keep
getting an error.
Some other BG info
Server Model : PHP Mysql
Access : Local/Network
Testing server folder: C:\Documents and Settings\myname\My
Documents\sites\barrister\ (barrister is the name of the file and site)
URL Prefix http://localhost/barrister/ (currently)
What am I missing (besides a fundemental understanding of it).
"Murray" <planetthoughtful@gmail.com> wrote in message
news:6481f4d0901092018g31d9a08fkd0321e1532c857f2@mail.gmail.com...
> In general, as Phpster points out, your development will take place in
> directories underneath your htdocs directory, which, if you installed
> XAMPP
> into the root directory on C:, would be something like
> C:\xampp\htdocs\yourdevdirectory.
>
> Depending on how XAMPP is configured (you can make many changes, for
> example, to the Apache conf files to determine Apache's behaviour), you
> would probably use a URL of
> http://localhost/yourdevdirectory/index.php
> etc
> to access your actual application.
>
> This is not to mention that you can go on to setup virtual sites, so that
> you could access your site as
> http://yourapplicationname/index.php.
>
> M is for Murray
>
>
> On Sat, Jan 10, 2009 at 12:13 PM, Gary <gwpaul@ptd.net> wrote:
>
>> Not sure how to word this, but I have just installed the XAMMP package
>> with
>> Apache, PHP for the purpose of having a testing server.
>>
>> My confusion is the location of the files. I am using Dreamweaver CS3,
>> and
>> all of my sites were in My Douments\Sites. When I was trying to set up
>> the
>> testing server in DW, I directed it to http://localhost. I
>> was pretty
>> sure
>> it was not going to work, and I was right. I then created a folder in
>> C:\xammp\htdocs\ and directed it to there...again no go.
>>
>> Part of my confusion is that if I create a page as I normally do, and it
>> is
>> stored in My documents\Sites\sitename, then there is no file that is then
>> created in the C:\xammp\htdocs\.
>>
>> So, does it make sense for me to simply put all of my local files in the
>> tester server root folder? Or am I going about it wrong?
>>
>> Thanks
>>
>> Gary
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>