Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I just did a fresh install of ubuntu 9.10 and install apache2 webserver with php5 and mysql, but for some reason I have no idea why but when upload files to the computer running apache2 webserver
It's not displaying the website correctly and it's not working on any pc on my network either, but it looks fine in dreamweaver when I was designing it on my laptop.
any help on this would be great
below is a list of all the files and folders in the /var/www path
You are supposed to put those file in /var/www/html directory instead of /var/www directory..............
or make sure your document root in httpd.conf file is /var/www
Last edited by Sayan Acharjee; 02-25-2010 at 10:14 PM.
You are supposed to put those file in /var/www/html directory instead of /var/www directory..............
or make sure your document root in httpd.conf file is /var/www
Actually default path is /var/www that's how it's setup in the config file
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
I notice you don't have an index.html file, but rather an index.php file. So, perhaps you need to enact php to view it. Maybe installing libapache2-mod-php5 would help (I'm assuming you're using apache2).
It's not displaying the website correctly and it's not working on any pc on my network either, but it looks fine in dreamweaver when I was designing it on my laptop.
that's just it, there was no errors, just wasn't displaying the menubar and some other images correctly, I just did a full re-install of Ubuntu I probably screwed something up, so now im going to re-install apache2 with php5
Edit:
Good news everything is working like it should now, thanks everyone for advice and suggestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.