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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 2nd, 2002, 10:24 PM
druggedsociety druggedsociety is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 6 druggedsociety User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to druggedsociety
apache webserver

hey there. im nick. i read the apache webserver tut and went ahead and did everything you said to do. i have a address from no-ip.com and i type it in and it goes to my webpage thats hosted on my pc. BUT, it only shows the php file that u said to test it with. when i put a index.html file in that public_html folder you said to create. nothing happens and a forbidden, you dont got access to this...bla bla bla comes up. i went to the docs for apache and that didnt help. i was wondering if you could help me or maybe point me in the right direction. thanks for your time.

Reply With Quote
  #2  
Old October 2nd, 2002, 10:34 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Easy, basically apache doesnt know to look for the index.html file when you call a directory. in your httpd.conf file look for something like this:

<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>

The is the directory index, where certain files are looked for and called (if possible) if you call a dir, so if you type URL before doing anything it will look for index.html and index.php in that order, if it finds one, it will display it, otherwise, you will get a forbidden msg, or a dir listing,


just add the files you want to the command above. eg:

<IfModule mod_dir.c>
DirectoryIndex index.html index.php file.name
</IfModule>

Also if there is index.html and index.php in the same dir, it will call the first one in the list, so it would call index.html in this case.

Also once you have made these changes, dont forget to restart your server

Reply With Quote
  #3  
Old October 2nd, 2002, 10:52 PM
druggedsociety druggedsociety is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 6 druggedsociety User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to druggedsociety
Talking

hey thanks a bunch. your good you.

Reply With Quote
  #4  
Old October 3rd, 2002, 12:04 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
i know, sometimes i just ponder and think, how great i am! ROFL

Reply With Quote
  #5  
Old October 3rd, 2002, 12:09 AM
druggedsociety druggedsociety is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 6 druggedsociety User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to druggedsociety
now im trying to install vbulletin and im having trouble with that. i did "exatly as you said to install mySQL and php. those work.

i just need to know my "database server type" and "database name" and "database username and password" and "database server hostname / IP address" you wouldnt happen to know a thing or two about this would you?

thanks.

Reply With Quote
  #6  
Old October 3rd, 2002, 12:14 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
database server type: MySQL
database name: [A database name]
database username: root
database password : [NOTHING, leave this blank]
database server hostname: localhost

Reply With Quote
  #7  
Old October 3rd, 2002, 12:23 AM
druggedsociety druggedsociety is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 6 druggedsociety User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to druggedsociety
i got this

Warning: unlink() failed (Permission denied) in c:\public_html\dsboard\admin\install.php on line 305

Attempting to attach to database...

You have specified a non existent database. Trying to create one now...

Trying to connect again...

Connect failed again! Please ensure that the database and server is correctly configured and try again.

Click to go to the vBulletin website

Reply With Quote
  #8  
Old October 3rd, 2002, 12:32 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
create a file called phpinfo.php

and place this in it

<?php

phpinfo();

?>

run that on your server, does mysql show up on the list?

Reply With Quote
  #9  
Old October 3rd, 2002, 12:43 AM
druggedsociety druggedsociety is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 6 druggedsociety User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to druggedsociety
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.39

Directive Local Value Master Value
mysql.allow_persistent
On On
mysql.default_host
no value no value
mysql.default_password
no value no value
mysql.default_port
no value no value
mysql.default_socket
no value no value
mysql.default_user
no value no value
mysql.max_links
Unlimited Unlimited
mysql.max_persistent
Unlimited Unlimited

this came up but in a table. i dunno what this means.

Reply With Quote
  #10  
Old October 3rd, 2002, 12:46 AM
druggedsociety druggedsociety is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 6 druggedsociety User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to druggedsociety
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.39


i dunno if its on or not. its running in my system tray though. i have a green light.

or just check out. http://druggedsociety.bounceme.net

Reply With Quote
  #11  
Old October 3rd, 2002, 01:07 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
i cant really tell much from your site, if the green light is on, that means that mysql is running fine, but that doesnt mean that php can connect to it.

From the sound of what your saying, you havent had much expericnce with databases, esp if you dont know this stuff

database server type: MySQL
database name: [A database name]
database username: root
database password : [NOTHING, leave this blank]
database server hostname: localhost

I would suggest learning the basics. Try reading this article.

URL

Reply With Quote
  #12  
Old October 4th, 2002, 12:34 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Druggedsociety,

You may also need to create a empty database before using vBulletin. I'm not sure if it automatically creates the database and the tables, or if it just create the tables.

If it doesn't create the tables, you'll need to create a database:

Depending on what you're using to administer your MySQL setup, you'll need to do this:

PHP Code:
 CREATE DATABASE 'whatever name you want here' 


I would suggest using PHPMyAdmin... It's a powerful PHP/MySQL administrative app.
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #13  
Old October 3rd, 2004, 08:00 AM
strangledchicke strangledchicke is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 strangledchicke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy

how can i make apache allow "index of" folder - e.g.

http://xx.xx.xx.xx/files/test

which would display all files containing the folder?

thanks, sorry if i seem ignorant

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > apache webserver


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 | 
  
 





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