Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Xampp How Can I Generate "automatic Start Sites"
raymond07_ca
post Sep 1 2008, 11:54 PM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 1-September 08
Member No.: 67,213



I am new using XAMPP and PHP. I am trying to build website using Joomla which is required my computer to have php. So i installed this XAMPP and install my joomla website. My questions is everytime i type localhost is not going to my joomla website that i built. it always goes to localhost/xampp. i know i have to configure the httpd.conf but i have no idea how to configure this. can anyone help me with this. my website folder called "test". how do i redirect to this test folder so that everytime i type local host it will open the test website. I really appreciate your help.
Go to the top of the page
 
+Quote Post
shadowx
post Sep 1 2008, 11:59 PM
Post #2


Look around, what do you see? Incorrect.
***********

Group: [HOSTED]
Posts: 1,118
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719
myCENT:47.88



I replied in the shoutbox too, try renaming the "xampp" folder to "xampp_old" i think it isnt needed and so can be deleted, but rename it first so its easier to recover.

remember to place the "test" folder inside the "htdocs" folder too.
Go to the top of the page
 
+Quote Post
jlhaslip
post Sep 2 2008, 01:13 AM
Post #3


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,300
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:46.50



Alternately, install the Joomla into the htdocs/xampp folder and make sure to safe/re-name the existing index.php from the default xammp install in that folder to index_old.php in case you need to reverse the process. Joomla should fire up as the default application if it is installed into htdocs/xammp/index.php. You might need to juggle a few things to get it into the correct location, but it should not be difficult to do.

Another option is to rename the existing htdocs/xammp/index.php, build another htdocs/xammp/index.php that performs a redirect to the Joomla folder???
Go to the top of the page
 
+Quote Post
raymond07_ca
post Sep 2 2008, 07:40 AM
Post #4


Newbie
*

Group: Members
Posts: 2
Joined: 1-September 08
Member No.: 67,213



QUOTE(shadowx @ Sep 1 2008, 11:59 PM) *
I replied in the shoutbox too, try renaming the "xampp" folder to "xampp_old" i think it isnt needed and so can be deleted, but rename it first so its easier to recover.

remember to place the "test" folder inside the "htdocs" folder too.



Hi Guys,

Thanks for helping. i did rename that htdocs tp htdocs_old and create another htdocs and i put that joomla inside that. Now evertime i type localhost is not joomla website show up but it show "IT WORKS!!!". i rename the index.html and php to old why the localhist not recognized my joomla php? can any one help me please?
Go to the top of the page
 
+Quote Post
sonesay
post Sep 2 2008, 09:23 AM
Post #5


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 714
Joined: 20-June 07
From: Auckland
Member No.: 45,102
myCENT:12.37



biggrin.gif I wish I had the answer. I am using xampp too but only because it was easy to get PHP5, MySQL, GD lib, Apache, PHPmyadmin, + what ever else it offers. Its still kinda hard to secure and I haven't found the documentations much help. Maybe its just me LOL. This is somewhat related anyway so I'll just tell you how I ended up using xampp.

I have am running OSX so yeah I get apache and some other stuff included. only problem is its running old version of PHP and there is no gd lib support. There is no mysql myphpadmin etc. No problem right there's plenty of links out there pointing you to many ways of getting that stuff to work. After several attempts of getting each component to work (This is of course after some errors that I have encountered and probably forgotten about since the whole process was hell and I don't have time to try and understand LOL) anyway I get most of what i need working except for some reason I cant get GB lib to work with my version of apache and PHP5.

So i give up and install xampp. I think it came with mysql too so yeah what the hell I installed it and now I have two apaches. The one from OSX and xampp. I can run either and if both are running they conflict obviously. The funny thing is now xampp runs and loads the sites I have on the orginal apache. I never had this in the past I remember it having its own directory and so I check and sure enough it does. except its not running folders in there. I tried moving / creating files in its htdocs but they dont load except the folders from my original setup. Weird aye.

All in all my server is completely messed up. Following the security setup guidelines don't even work either its poor documentation from xampps part or my servers messed up because I'm not seeing what they are pointing out in the steps. I probably wont try fix it anytime soon because of time on top of that last week I got SQL injected LOL the guy was nice enough to point out my flaw in PHP code and not do any serious damage.

So I have to say I'm still a complete newbie with xampp and among other things. I hope you find the solution and post it here.

Peace
Sone
Go to the top of the page
 
+Quote Post
shadowx
post Sep 2 2008, 02:34 PM
Post #6


Look around, what do you see? Incorrect.
***********

Group: [HOSTED]
Posts: 1,118
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719
myCENT:47.88



QUOTE
Thanks for helping. i did rename that htdocs tp htdocs_old and create another htdocs and i put that joomla inside that. Now evertime i type localhost is not joomla website show up but it show "IT WORKS!!!". i rename the index.html and php to old why the localhist not recognized my joomla php? can any one help me please?


you dont need to rename the HTDOCS folder. You need to rename the XAMPP folder that is inside the HTDOCS folder. Eg go to C:\XAMPP (or wherver you installed it. then go into the HTDOCS folder and if there is a folder inside that called XAMPP (so the file location is C:\XAMPP\HTDOCS\XAMPP) rename that last XAMPP folder.

So now you have C:\XAMPP\HTDOCS and inside there you have XAMPP_OLD or something. Now try going to your localhost http://127.0.0.1 and see what happens. If you still get the "It works" Message you need to look for and rename, ANY "index" file or any other HTML file inside the HTDOCS folder.

Basically when you type http://localhost or whatever your browser effectively goes to the folder xampp/htdocs so any file inside the HTDOCS folder is now on display. So clear out that folder. Just copy/cut it into a fodler on your desktop or something and delete the originals, so that the HTDOCS folder is now empty. And place your own index.htm file in there. And test again.
Go to the top of the page
 
+Quote Post
TerroR
post Sep 3 2008, 07:00 AM
Post #7


Newbie [Level 1]
*

Group: [HOSTED]
Posts: 15
Joined: 28-August 08
Member No.: 66,981



Try creating a sub-folder for your website, in the htdocs directory.
The, you can go to http://localhost/my_folder/ and see the stuff you have got there.
Go to the top of the page
 
+Quote Post
kudmus
post Sep 9 2008, 07:02 AM
Post #8


Super Member
*********

Group: [HOSTED]
Posts: 214
Joined: 22-April 08
From: Harare, Zimbabwe
Member No.: 61,160



I dont encourage people to do what I did coz I was new to this thing. I just deleted the entire content of xampp/htdocs/ and placed my index.php and all the other folders in there. It worked the first time and I never had a problem ever since. I still type http://localhost/phpmyadmin and it works. I don't even know where it gets it but it doesn't fail me
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. flatfile guestbook for wap sites(3)
  2. Many Php Script Sites(16)
  3. Coding Your Sites ?(20)
  4. Categories And Automatic Sorting(5)
  5. Reading Site's Source Code With Php(8)
  6. Anyone Know Any Good Sites To Learn Php(17)
  7. php header() function help needed(4)
  8. Php Scripts Free For Every One(12)
  9. Php Version Differences? Or Not?(5)
  10. Parsing Html As Php(7)
  11. Automatic Login Using Curl(6)
  12. Simple Text Counters(15)
  13. Papular Wap Scripts 4 Your Sites(3)
  14. Sub Domain Help In Xampp(4)
  15. Be