Check out my edit ^.
Try that and see if anything is shown.
Check out my edit ^.
Try that and see if anything is shown.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
i got a php page now when i enter http://localhost/phpinfo.php
but my index.php (now called test.php) is still not working :/ i think i should try program further on now to see if it's working then..
thanks for saving my day
Free tips & tricks for you PC www.justrehhoff.org
Tips for both linux and windows !
Missing a guide for ubuntu ? don't hestitate we have that to !
ouh and also i see the deafult index.html document is locked to something (according to the little lcok in the corner of the file) in var/www/
is it possible to lock the deafult page to another ?
Free tips & tricks for you PC www.justrehhoff.org
Tips for both linux and windows !
Missing a guide for ubuntu ? don't hestitate we have that to !
index.html is probably owned by root, which is why it has a lock on it.
You'd have to move it using sudo.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Free tips & tricks for you PC www.justrehhoff.org
Tips for both linux and windows !
Missing a guide for ubuntu ? don't hestitate we have that to !
Use gksudo nautilus to start with with root permissions.
Can you post the output of this please:
Code:ls -l /var/www
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
totalt 8
-rw-r--r-- 1 root root 177 2010-12-13 16:19 index.html
-rw-r--r-- 1 allan allan 208 2010-12-13 18:28 index.php
to help make it less frustrating. I will post the codings of each file below.
index.php
yea i know it's another index.php but i edited the old index.php so this one works when i enter http://localhost/index.phpCode:<!doctype html> <html> <head> </head> <body> <div id="wrap" style="width: 900px; margin: 0px auto;"> <?php echo "<h1>It's works</h1>"; $php_info; ?> </div> </body> </html>
index.html
to summerize (spelling) it's the index.php i want as the default page.Code:<html><body><h1>It works!</h1> <p>This is the default web page for this server.</p> <p>The web server software is running but no content has been added, yet.</p> </body></html>
Free tips & tricks for you PC www.justrehhoff.org
Tips for both linux and windows !
Missing a guide for ubuntu ? don't hestitate we have that to !
Remove index.html, and index.php should be the the default page.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
i have moved the files to thrash bin now,
still get's the default IT WORKS! screen from index.html
Free tips & tricks for you PC www.justrehhoff.org
Tips for both linux and windows !
Missing a guide for ubuntu ? don't hestitate we have that to !
So index.html isn't there any more?
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Bookmarks