General :: Apache 2 Not Recognizing .shtml Files?
Nov 4, 2009
I have just changed my web pages mostly to .shtml to take advantage of ssi.Now, when I go to my website, it gives an "index of /" page instead of showing the .shtml files.I have read in many places that .shtml files have to be specifically set up to be recognized as index files, but I cannot for the life of me get it to work or even to understand where I'm supposed to put all of the configuration stuff.I need to know what to change to make the apache 2 parse .shtml files for ssi and also to make apache check for .shtml files as an index file.
View 14 Replies
ADVERTISEMENT
Apr 17, 2010
I installed apache server on my Fedora 12. Its showing the test page 127.0.0.1, but when I give the address 97.168.234.76 (0r www.chaalu-kam.com), it tells that the requested url could not be retrieved.
I have made the following additions to the /etc/httpd/conf/httpd.conf file
Code:
NameVirtualHost 97.158.234.76
<VirtualHost 97.158.234.76>
ServerName www.chaalu-kam.com
DocumentRoot /var/www/html/
[Code]....
View 1 Replies
View Related
Apr 17, 2010
I installed apache server on my Fedora 12. Its showing the test page 127.0.0.1, but when I give the address 97.168.234.76 (0r www.chaalu-kam.com), it tells that the requested url could not be retrieved.
I have made the following additions to the /etc/httpd/conf/httpd.conf file
Code:
In addition to this, I have added this to my /etc/hosts file
Code:
I wanted to test the Apache server on my laptop only by putting an html file in /var/www/html and naming it as index.html. I want this index.html page to be displayed when I put www.chaalu-kam.com in my browser. What should I do? My firewall is off too
View 10 Replies
View Related
Jul 27, 2010
I am trying to use my Samsung YP-K3 player with Ubuntu 9.10. Many people report that Ubuntu fails to recognize similar players and some fiddling with Amorak is necessary. However, my system recognizes the player fine, and I can copy files to it without any difficulties. However, the player itself fails to recognise the files that are copied to it via Ubuntu. It will play the files that were previously copied to it via Windows fine, and I can go back and copy edit the playlist in Windows and everything works accordingly, it just seems Ubuntu is copying the files over in a non-supported format or something, which is weird, because they're all just standard MP3 files, many of which were originally created under Windows.
View 5 Replies
View Related
Nov 30, 2010
How do i upload files using apache configurations. ho do i do that. i am using centos.
because my client wants upload files through httpd.
View 4 Replies
View Related
Mar 6, 2011
I did a wget on the source and built the apache binaries correctly. Now what do I need to do to get some documents accessible using HTTP (start some services?)? Also, do I need to group all the files I want to make accessible in some directory and make the directory and its contents accessible or can I just make the individual documents available? I will be providing these links to my colleagues and do not want them to be down, so need to make sure that the apache services are up automatically after a reboot. Does apache have some inbuilt support for this?
View 2 Replies
View Related
Oct 20, 2009
I suspect that this has come up numerous times, but I am new to Linux and I am setting up a new in-house server using Ubuntu 9.04 and Apache, etc. I can see the welcoming "It Works!" message when I log in via Firefox. I can see "index.html" when I FTP the server with the site name and password at /var/www. I can also see the -rw-r-r-- attributes, but I can't edit the HTML file or replace it. When I try to rename the "index.html" file.
I get the following message: "Request denied. Verify that the file or folder exists and that you have the necessary permissions on the server to perform the requested operation."
I haven't been able to determine where to enter the password or what changes I need to make to be able to work with the /var/www directory via FTP.
View 4 Replies
View Related
Jan 15, 2011
I am trying to get my DVD to view on my Dell D610 laptop running Fedora 14 LXDE. Error messages:
Xine engine log console:
lirc: cannot initialise - disabling remote control
lirc: maybe lircd isn't running or you can't connect to the socket?
[code]....
View 1 Replies
View Related
Jul 6, 2010
I am currently running an Asus EEe PC 1000H with Windows 7 installed on it. I am trying to set up a dual boot with Debian. My problem is: I boot the netbook via an SD card with the netinstaller image. When it comes to create partitions, the installer tells me, that my HDD is completely empty, which is not true. I have 3 partitions, one with w7, one with stuff (fat32) and one empty, where debian should go. Because it doesn't recognize my partitions, it only wants to create a new partition on the supposedly empty HDD, which is not what I want. Why does it not recognize my HDD? It always worked with Ubuntu, LinuxMint etc.
View 1 Replies
View Related
Jan 22, 2011
I can insert a " burned " CD and it boots and plays right away , but if I insert a purchased music CD or other Purchased media it just scans and does nothing . I've gone to "places " and opened the CD drive and get the message " no media found "or Insert media .Also in the properties tab of the CD drive type is "unknown " and permissions can't be determined .
View 1 Replies
View Related
Jun 12, 2009
is there a program or something to enable my presario 2100 to read a linksy's program disc? the disk says it should run automatically, but the comp keeps sending an error message that its either a multi-part drive? or its a zipfile and it cannot recognize.
View 1 Replies
View Related
Oct 13, 2010
I was trying to use the grep command with -e option to test some regular expressions with it but to surprise not all the meta characters were being recognized by the grep engine, how ever egrep works perfectly fine.
For example : The following egrp command works fine:
View 3 Replies
View Related
May 26, 2011
I am attempting to stand up a new server Red Hat EL6 with Bugzilla-4.0 and everything is working expect Virtual Host. By defualt Bugzilla looks for SetEnv PROJECT (variable) in the /etc/httpd/conf/httpd.conf file. I followed the given instructions to place SetEnv PROJECT (variable) under <VirtualHost> however bugzilla doesn't recognize that it is there. When I put SetEnv PROJECT outside of <VirtualHost> then it becomes the default for ALL my different virtual host instead of using what is inside the <VirtualHost> section.
Here is the NameVirtualHost section of my httpd.conf file
NameVirtualHost *:443
SetEnv PROJECT UIDPMO
<VirtualHost 140.188.65.31:443>
[code]....
PS: Here is what Bugzilla 4.0.1 guide says to do: 2.4. Multiple Bugzilla databases with a single installation The previous instructions referred to a standard installation, with one unique Bugzilla database. However, you may want to host several distinct installations, without having several copies of the code. This is possible by using the PROJECT environment variable. When accessed, Bugzilla checks for the existence of this variable, and if present, uses its value to check for an alternative configuration file named localconfig.<PROJECT> in the same location as the default one (localconfig). It also checks for customized templates in a directory named <PROJECT> in the same location as the default one (template/<langcode>). By default this is template/en/default so PROJECT's templates would be located at template/en/PROJECT.
To set up an alternate installation, just export PROJECT=foo before running checksetup.pl for the first time. It will result in a file called localconfig.foo instead of localconfig. Edit this file as described above, with reference to a new database, and re-run checksetup.pl to populate it. That's all. Now you have to configure the web server to pass this environment variable when accessed via an alternate URL, such as virtual host for instance. The following is an example of how you could do it in Apache, other Webservers may differ.
<VirtualHost 212.85.153.228:80>
ServerName foo.bar.baz
SetEnv PROJECT foo
Alias /bugzilla /var/www/bugzilla
</VirtualHost>
Don't forget to also export this variable before accessing Bugzilla by other means, such as cron tasks for instance. For anyone that fell into the same trap as I did. The Bugzilla guide neglects to tell you where to set the SetEnv PROJECT variable. It turns out that you need to add this variable in the /etc/httpd/conf.d/ssl.conf file under each virtual host section. So for me I did the follwoing
<VirtualHost_default_443>
SetEnv PROJECT PDS
Save the file, restarted Apache and everything worked as expected. Although I did include the NameVirtualHost section in /etc/httpd/conf/httpd.conf I don't think it made a difference.
View 1 Replies
View Related
Nov 22, 2010
adding some program packages doesn't seem to be working out of add/remove, asking me to insert Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081030) which i believed to be the 8.1 desktop release i received with the laptop. doesn't recognize it. is this the wrong cd?
View 3 Replies
View Related
Jan 6, 2010
Im using it in an attempt to backup all of the files off of my dead Windows xp Computer. Right now I am using the 9.10 live disk of Ubuntu and cannot get the program to recognize what kind of file system my internal hard drive is using. (A western digital 320 GB hard drive with partition 1 in NTFS and part2 in FAT32) I would like to be able to back up this drive onto my 1 TB Western Digital external hard drive that is also in ntfs.
Now here comes the wierd part, it won't read or recognize my interal and external hard drives that run those file systems but it will recognize and allow me to read, edit, and access all of the ntfs hard drives on my home network. I did some lurking and tried a tutorial for creating a mount point and on how to force mount a disk, but neither of my disks would show up in Places/Computer. So then I checked the /etc/fstab file and is says,
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
Which I think means that it says I have no hard drives installed or connected to the computer. Yet when I go into Disk Utility it tells me the disk is there and asks if I want to format the disk into ntfs...
View 10 Replies
View Related
Feb 10, 2016
I am trying to access logs Apache logs (I just installed Apache) and it is giving me permission denied errors. What permissions did you give to yourself in order to access these logs or should I just add this user(myself) to adm group?I can access other log files with no problems for example ssh logs.
View 6 Replies
View Related
Feb 22, 2010
I installed Zend Server CE. Then I uninstalled Zend Server CE and installed PHP5 + Apache using Yast and now *.php files my Firefox want to download not display.
Apache:
apache2
apache2-mod_php5
apache2-prefork
apache2-utils
[Code]....
View 9 Replies
View Related
Feb 9, 2010
Where are the apache log files located? I just want to see all connections, etc.
View 3 Replies
View Related
Jul 4, 2011
Sounds a bit odd but I'll try explain.My files I want to use in my apache folder now tell me I dont have permission to access them. When I change the permissions again, they just go back to blocked again.
I have Ubuntu 11.04
View 1 Replies
View Related
Sep 2, 2010
The actual file didn't exist. I am confident it came through a site but I am more curious what settings in apache affect the ability to do this?
View 2 Replies
View Related
Nov 14, 2010
i've had my dedicated server for about 16 months now and my log files are huge and I host a few small sites but one of them is quite large and can get a log file (access.log and error.log) of 1-2gb a month so over a year can take up almost 30gb just for that site so I clean them out regularly but I'm wanting a more automated way to do thisi've been thinking of using the find command using something like this but it isn't workingCode:find /var/www -name "*.log" -type f -size +10M -exec echo > {} /;
View 13 Replies
View Related
Aug 4, 2015
I have some scripts that need to use a newer version of PHP, Im running Debian 6 which has PHP 5.3.3 support, I found I could install php 5.4 using [URL]. This worked, it updated my PHP to a newer version, the only issue is that when the install completed apache now downloads the PHP file instead of rendering it.
Im guessing this has something to do with the Apache configs, but I don't know what to do.
Code:
Select alltom@vps:~$ dpkg --list |grep -E '(apache)|(php5-)'
ii apache2 2.2.16-6+squeeze12 Apache
HTTP Server metapackage
ii apache2-doc 2.2.16-6+squeeze12 Apache
[Code] ...
View 1 Replies
View Related
Dec 10, 2010
why Apache is not parsing php code inside html files in LAMP? Whereas the same is working fine in WAMP..
View 6 Replies
View Related
Dec 23, 2010
I have set up a very basic apache server to host my own website (have not set up sql or database or php yet) and I am trying to find out how to fpt or copy my website. I am creating the site in windows and need to know how to transfer it to the server, preferably into the /var/www folder directly.
View 7 Replies
View Related
Jul 19, 2011
At this moment I got a question asking what files should I configure to setup Apache and the client to access should insert something like http://10.0.0.10/mywebsite:8080. I have already installed APache2, and change the listen ports to 8080 at ports.conf (Listen 8080 | Name VirtualHost *:8080) and at /etc/apache2/default (VirtualHosts *:8080). I also found the index.html at /var/www folder. I also changed IP address at /etc/network/interfaces. With this changing, now I can access using http://10.0.0.10:8080. But the problem is, what about the "mywebsite" part?
View 6 Replies
View Related
Jul 6, 2010
I've installed Apache 2 on Ubuntu linux 10.04 as a simple LAN site for testing PHP scripts. But even though I've deleted the default index.html file in htdocs, changed the index file to index.php, put an index.php, chmoded to 775, and gave ownership of the folder to my account, it will not update any of the files. Any time I go to 127.0.1.1 or 127.0.0.1 (Both work, somehow), it has the "It works!" page instead of the page I put there. And yes, I've tried restarting apache, restarting my computer, etc. What's the problem and/or how do I fix it?
tl;dr: Apache keeps displaying the "It works" page even though I've replaced it. How do I fix it?
View 2 Replies
View Related
Feb 18, 2009
I would like to use a nas to store my web site files. Can Apache be configured to serve web files from the nas?
View 4 Replies
View Related
Jul 2, 2010
i installed apache 2.2.15 in my system its working properly.... but i deployed some php files in /usr/local/apache2/htdocs ... i was not able to run that php files ..... if i run that php file in browser it shows content of that file... for an example i created one test.php file(it contains <?php echo "hello world" ?>) and put it in /usr/local/apache2/htdocs... if i run in browser using this [URL] its shows in browse like this <?php echo "hello world" ?>......
View 1 Replies
View Related
Oct 27, 2009
Possibly off-topic, as this is in a VServer, running a non-standard kernel, but both the host and the VServer are running CentOS, so.....I've been happily running a small web site on a CentOS 5.3 host, using Linux-VServer. (So it actually runs on a 2.6.22 special VServer kernel.)This *might* be connected with updating to 5.4, but I'm not sure how. VServer itself was not touched, and httpd runs inside it (that is, using the VServer's httpd, not the CentOS one. Vserver however, is running Centos.
Suddenly, anything I load into the VServer DocumentRoot is not visible. A ls -l of files that show and files that don't show the exact same thing. That is, for example-rw-r--r-- 1 root wheel 106314 Oct 5 22:38 mutt.html-rw-r--r-- 1 root wheel 390 Oct 26 22:09 new.htmlYet, mutt is viewable and new.html just gives me a 404.
So, I then edited the mutt.html.I added a line like line for testing or something similar.That too, does not show up. That is, the mutt page shows, but the change I made in it doesn't show. I've tried restarting the vserver, but that did nothing.(And yes, I did hit refresh on the browser and also used another browser, to be sure.)I raised apache log level to debug, but neither access nor error shows me anything.I'm not even sure what terms to use in googling, trying things like newer files apache not visible and similar have brought me no luck.
View 6 Replies
View Related
Aug 28, 2011
This is what writes when I enter localhost in browser and press Enter.
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
http://localhost/~david/baby.php
Not Found
The requested URL /~david/baby.php was not found on this server.
Apache/2.2.19 (Debian) Server at localhost Port 80
So , I copied file directly into /var/www folder, entered /localhost/baby.php and get this :
Server error The website encountered an error while retrieving http://localhost/baby.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
So , it's not 'bout path or server .. or about php file (I tried few). I don't know what to do
View 8 Replies
View Related