SunQuest
 
           Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 25th, 2005, 07:43 PM
unctarheels18 unctarheels18 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 2 unctarheels18 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 44 sec
Reputation Power: 0
Apache Problem

Hi everyone. I have a minor problem with apache, well not so much as a problem rather than something I have set up wrong. Ok so heres the deal, I've been running a phpnuke site on Apache 2 on my webserver running windows server 2003. It runs fine, but in order to access the site I have to type in http://myip/nuke/index.php . From what I have read I have done something wrong here. I want it to be set up so that I can just type in my ip and it will bring up the page. There's something I'm missing in the configuration or something but I can't for the life of me figure out what it is. Any help would be greatly appreciated, thanks!

Reply With Quote
  #2  
Old July 26th, 2005, 09:51 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
I wouldn't say you've done anything wrong... you just want a different file structure...
You can always move them out of the "nuke" folder on your computer and into Apache's document root.

Alternatively, create a file called "index.php" and place it in the document root...
inside that file simply put:
PHP Code:
<?php header("Location: /nuke/"); ?>

Reply With Quote
  #3  
Old July 26th, 2005, 03:50 PM
unctarheels18 unctarheels18 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 2 unctarheels18 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 44 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
I wouldn't say you've done anything wrong... you just want a different file structure...
You can always move them out of the "nuke" folder on your computer and into Apache's document root.

Alternatively, create a file called "index.php" and place it in the document root...
inside that file simply put:
PHP Code:
<?php header("Location: /nuke/"); ?>



Yep, fixed it shortly after I posted, thanks

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway