NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] project wizard message


Joined: 17 Oct 2011
Posts: 2
Reply with quote
I'm using WAMP on Windows 7 and can setup sites fine and view them using the WAMP tools.

I launch the PHPEd project settings wizard, select I am using Apache on the first wizard page, select PHP 5.3, HTML 5, and CSS 3 on the second wizard page, but on the third page I'm having problems.

For document root I select the folder that has my index.php file.

For URL I select the same path that runs successfully when launching my browser via WAMP, for example:

http://localhost/MyWebSite - and the error message states, "Web site URL with path is expected, document name is not allowed"

So I tried:

http://localhost/MyWebSite/ - and the error message states, "Top level web site URL expected (e.g. http://localhost), subfolders or document names are not allowed here"

--

However, http://localhost/MyWebSite/ works fine in my browser. I'm more of a desktop guy than a web guy so I know it's something dump.

Can anyone help please?
View user's profileFind all posts by jsmith072060Send private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
These are the project settings that I would have for a typical local project.

Project: C:\Documents and Settings\plugnplay\My Documents\_PhpEdProjects\example.ppj
Root directory: C:\Inetpub\apache_htdocs\example
Root URL: http://example.local:86
Remote root directory: C:\Inetpub\apache_htdocs\example
Default file to run: C:\Inetpub\apache_htdocs\example\index.php

Mapping Remote / Local:
C:\Inetpub\apache_htdocs\example -> C:\Inetpub\apache_htdocs\example

Try getting through the Wizard and even if the testing doesn't work, save the settings then go into Project Properties to review what needs adjusting.

I don't use localhost as it causes too many little issues. Assuming apache_htdocs was my root Apache folder (from an Apache web serving perspective; not from a PhpED perspective), then I could use a Root URL of http://localhost/example

If you are new to Apache then I encourage looking at setting up virtual hosts with your own domain names in the httpd-vhosts.conf file. That's pretty easy to do, just a few little tricks. Remember you can use the Windows hosts file to setup your own domain names if you do not have a local DNS.

Also, I do .NET work on port 80, so I use port 86 for Apache and the only place I need to use that is on the Root URL.
View user's profileFind all posts by plugnplaySend private message
Thanks


Joined: 17 Oct 2011
Posts: 2
Reply with quote
Thanks plugnplay that information really helped and I was also able to get the Apache virtual hosts setup too.
View user's profileFind all posts by jsmith072060Send private message
[resolved] project wizard message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic