|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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.
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
hey thanks a bunch. your good you.
|
|
#4
|
|||
|
|||
|
i know, sometimes i just ponder and think, how great i am! ROFL
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
database server type: MySQL
database name: [A database name] database username: root database password : [NOTHING, leave this blank] database server hostname: localhost |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
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? |
|
#9
|
|||
|
|||
|
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. |
|
#10
|
|||
|
|||
|
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 |
|
#11
|
|||
|
|||
|
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 |
|
#12
|
|||
|
|||
|
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:
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 |
|
#13
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > apache webserver |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|