FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem with the run configuration, Subversion and XAMPP

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
xantiva



Joined: 15 Mar 2009
Posts: 2

PostPosted: Sun Mar 15, 2009 12:57 pm    Post subject: Problem with the run configuration, Subversion and XAMPP Reply with quote

Hello,

I have problems with the "Run Configuration" ...

I started yesterday with NetBeans 6.5 and create a new project which is connected with SubVersion to a repository on a server in the internet.

What I want to do is running the project on the local XAMPP webserver for testing and debugging. The URL for the "website" should be a subdomain on the localhost => http://xyz.localhost/ ! (I was able to run a "new project", without the connection to the svn => source folder = web root, but not this website.)

My XAMPP configuration include a VirtualHost which points to
Quote:
VirtualDocumentRoot C:/xampp/htdocs/%1


The structure in the NetBeans project looks like:

mySVNproject
* Source Files
** trunk
*** xyz

xyz should be the root of the subdomain!

My actual settings in the project properties:
Web Root: trunk/xyz
x Copy files from Source Folder to another location: C:\xampp\htdocs\xyz

And that is my problem: I don't want to copy the files from the source folder, I need the files from the Web Root!

I would be very happy, if some could help me with this.

Sorry for my english, it is not my native language.

Ciao,
Mike
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Wed Mar 18, 2009 2:45 pm    Post subject: Problem with the run configuration, Subversion and XAMPP Reply with quote

Hi,

On neděle 15 března 2009 13:58:15 xantiva wrote:
Quote:
And that is my problem: I don't want to copy the files from the source
folder, I need the files from the Web Root!

sorry, no such possibility right now because Sources are meant to be all PHP
files and Web Root is only the "public" folder (the one that is visible for a
web server). Applications usually need all PHP files in order to run correctly.

Tomas
--
Tomas Mysik
address-removed
Back to top
xantiva



Joined: 15 Mar 2009
Posts: 2

PostPosted: Thu Mar 19, 2009 1:30 am    Post subject: Reply with quote

Hi Tomas,

thank you for your reply. I found better solution ... Wink

I misunderstood a part in the apache configuration, now I use a "dummy domain" with an entry in the hosts file and a specific VirtualHost ...

Code:

<VirtualHost 127.0.0.2>
    ServerName myexample.tld
    DocumentRoot "C:\xampp\htdocs\myFolder\trunk\base"
</VirtualHost>


Ciao,
Mike
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB