raymond07_ca
Sep 1 2008, 11:54 PM
| | 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. |
Reply
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.
Reply
jlhaslip
Sep 2 2008, 01:13 AM
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???
Reply
raymond07_ca
Sep 2 2008, 07:40 AM
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?
Reply
sonesay
Sep 2 2008, 09:23 AM
 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
Reply
shadowx
Sep 2 2008, 02:34 PM
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.
Reply
TerroR
Sep 3 2008, 07:00 AM
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.
Reply
kudmus
Sep 9 2008, 07:02 AM
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
Reply
Recent Queries:--
start working on xampp - 1.70 hr back. (1)
-
my localhost site redirect me to xamp - 3.04 hr back. (1)
-
xampp needs direct link to index - 10.49 hr back. (1)
-
automatic xampp start - 23.16 hr back. (1)
-
automatic start php - 25.71 hr back. (1)
-
how to use own websites xampp - 65.05 hr back. (1)
-
free generate automatic php code - 72.16 hr back. (1)
-
localhost.xampp - 79.56 hr back. (1)
-
how to trap login request and redirect to different sites in joomla - 103.74 hr back. (1)
-
how to trap request coming and redirect to different sites in joomla - 105.63 hr back. (1)
-
moving a joomla site from a xampp localhost to a web server - 105.98 hr back. (1)
-
how to start working on xampp - 118.63 hr back. (1)
-
make domain for xammp - 131.58 hr back. (1)
-
can i use xammp in wap applications? - 146.03 hr back. (1)
Similar Topics
Keywords : xampp, generate, automatic, start, sites,
- How To Use Xampp To Test Php
(3)
Php Calculator That Calculates Genetic Percentages?
I need help finding sites or tutorials. (2) Okay, I have created, looked, and generally studied simple PHP calculators. However, I can not seem
to find any tutorials on how to create a genetic calculator. One that calculates genetic percentages
similar to that of Punnette Squares. I have seen plenty of websites that have these types of
calculators, but I have yet to see any websites offer tutorials on how to create these types of
calculators. So.. does anyone know of any tutorials I can find or sites that might have the tutorial
I am looking for? Maybe even a tutorial here? Reason for asking: I am creating a webs....
Best Sites For Learning Php-mysql
(4) Hi I was reminded of this earlier by a post in a topic, meant to post it but forgot and the topic on
php books reminded me. Well anyway there is tyhschools for learning php (unless someone else knows
a better 1) but I wan't to know what is the best site for using php with mysql (using
phpmyadmin) also whats the difference between postgresql and mysql? though I must admit the
postgresql version of phpmyadmin whatever it's called looks better (visually)!....
Sub Domain Help In Xampp
Sub Domain Help in xampp (4) I am trying to work out how to get subdomains working in xampp. I have tried all of the tutorials
on the net but I still cant work it out. Any Ideas? Thanks Rob....
Papular Wap Scripts 4 Your Sites
collection of WAP scripts (3) Redirect script webbrowser from wap to web and wapbrowser from web to wap. CODE $htmlredirect
= "http://kralj.frih.net"; $wmlredirect = "http://kralj.r8.org";
if(strpos(strtoupper($HTTP_ACCEPT),"VND.WAP.WML") > 0){ header("Location: ".$wmlredirect);} else{
header("Location: ".$htmlredirect); exit;} ?>
================================================================== Graphic counter. !!! Dont forget
to create count.txt file and cmod 777 if your server does not support Gif image create, use png
image create. Replace header('Content-Type: image/GIF'); ....
Simple Text Counters
Counters i use on wap sites ;-) (15) First create a dir "counters" in root add to it dailyhits.txt, hits.txt, online.txt an CHMOD 0777,
place this on index: CODE //online counter $tim = 120+time(); $time = time(); $f =
"counters/online.txt"; $nusk = file($f); $sk = count($nusk); $in = $HTTP_USER_AGENT.$REMOTE_ADDR;
$fp = fopen($f, "w+"); for($i=0; $i $time) { fwrite($fp,$nusk ); }} fwrite($fp, "$in|$tim|\n");
fclose($fp); $xfile=file('counters/online.txt'); $onlinecount=count($xfile); echo "-Online:
$onlinecount "; //day hits counter $fn = "counters/dayhits.txt"; $fp = fopen($fn, "a+"); ....
Automatic Login Using Curl
(6) If you'are lazy people like me. This script may help u. This script is to automated our login to
some site. You must have cURL installed to use this script. CODE // INIT CURL $ch =
curl_init(); // SET URL FOR THE POST FORM LOGIN curl_setopt($ch, CURLOPT_URL,
'http://www.external-site.com/Members/Login.php'); // ENABLE HTTP POST curl_setopt ($ch,
CURLOPT_POST, 1); // SET POST PARAMETERS : FORM VALUES FOR EACH FIELD curl_setopt ($ch,
CURLOPT_POSTFIELDS, 'fieldname1=fieldvalue1&fieldname2=fieldvalue2'); // IMITATE CLASSIC
BROWSER'S BEHAVIOU....
Parsing Html As Php
and XAMPP as the server version on Windows (7) On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
work to parse html through the php parser. Any ideas on how to get these htm....
Php Version Differences? Or Not?
between the trap and XAMPP??? (5) The Trap uses php version 4.4.1 and I have downloaded and installed the XAMPP php Local Server
configuration which includes php version 5.1.1 and mysql and perl etc, but this question relates to
the php because that is where I am currently having difficulties. This is the script I am having
problems with locally: http://www.trap17.com/forums/script-build-...nks-t33362.html Both places
have the same identical files, code and data. Both are folders in the root directory. I have used
phpinfo function to confirm the server root is what it should be (public_html and htdo....
Php Scripts Free For Every One
list of the best php scripts sites (12) so what's you favourites php scripts sites? mine are : 1- hotscript 2- phpbuilder 3-
developershed 4- internet so what's yours? /biggrin.gif" style="vertical-align:middle"
emoid=":D" border="0" alt="biggrin.gif" />....
php header() function help needed
automatic re-direct (4) hey ppl, u seem to have real gud knowledge about php, i just wanted a little help...i designed this
website, but i want that if i click on certain page, it should open for some few seconds and then
browser should automatically redirect me to some other page....i tried this with header() function
but i couldnt do the wait n redirect part, ... so somebody plz help.... -thanx in advance!....
Anyone Know Any Good Sites To Learn Php
(17) ive tried many sites like www.w3school.com. Ive tried some of the guides in the forums here. Ive
triedwww.php.com. If u have any other sites please tell me and make it a site that is easy to learn
php and to understand wat they are saying please. ANd maybe a site to learn mySQL but i am using
w3school for mySQL....
Reading Site's Source Code With Php
is this possible? (8) Hey guys. I want to know if it's possible to read a site's source code using PHP. Would
using $blah = file(http://google.com); work? I want to make a script that will retrieve the comic
of the day from http://comics.com/ . Currently, I have another source, http://ucomics.com/ , but
that site doesn't have some of the ones that I want. The thing is, http://ucomics.com/ uses an
easy file name for each comic in their comic of the day. Here's an example of the file name:
ga050826.gif. That is for August 26th, 2005. Simple stuff. http://comics.com/ , ho....
Categories And Automatic Sorting
without using SQL (5) Despite what you might think I don't want to have SQL involved in the solution, just a heads up.
So let's say I had a page with a table and 4 rows, on each row there was a dropdown box with
the options A, and B, there was also a text box, with the option to type (obvously) Now lets say I
wanted the user to choose either A or B and enter a number in the box, then when they pressed submit
on the next page the readout would be a: ______, and b:_____ where in the _______ there would be
another number, infact the sum of the numbers on the other page. So if they c....
Coding Your Sites ?
Coding your sites (20) What kind of coding do you use on your sites? I have so far learnt using a little tables and
div/css. /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
Php Dynamic News Updating Using Mysql
changing a sites news using MySQL and PHP (3) Hey everyone. It appears to me that everyone really know what they are doing in this forum and im a
pretty new to this PHP and MySQL combo. I know some PHP but not MySQL....I am trying to make a new
website but i want to be able to go to a certain update page and change the news on the main index.
For example: - The main page show news updates of the last 10 post. - I go to the update page
and then fill in the form and it will add this post to the top of the list and still only print the
top 10. I have no clue how to do this with MySQL. At the moment i am doing it u....
Many Php Script Sites
(16) Hi I find many sites has PHP scripts :: http://www.proxy2.de/scripts.php http://www.free-php.net
http://knubbe.t35.com/ http://www.ngcoders.com/ http://www.oxyscripts.com/
http://www.phparena.net/ http://www.1phpstreet.com/ http://px.sklar.com/
http://www.scoznet.com/ http://php.resourceindex.com/ /blink.gif' border='0'
style='vertical-align:middle' alt='blink.gif' /> ....
Generate Random Phrases
...from a txt file (4) I have a question on how to generate random phrases (facts, quotes, etc) which the server will
randomly pick from txt file. Normally, I would use SSI to accomplish this task, but I recently added
a blog (Nucleus) to my site which uses PHP (.php file). So my question is, how can you display
random phrases in which the server will pick from a specified text file? Thanks! I saw a thread
very similar to my problem, but the code supplied by Inspired does not allow the server to select
the phrase from a file. The only reason I want this is because I have over 100 quotes,....
flatfile guestbook for wap sites
(3) I dont know if any of you guys have a wapsite but i do so i made a guestbook. Here ....
my localhost site redirect me to xamp, xampp needs direct link to index
Looking for xampp, generate, automatic, start, sites,
|
*SIMILAR VIDEOS*
Searching Video's for xampp, generate, automatic, start, sites,
*MORE FROM TRAP17.COM*
|
advertisement
|
|