General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

View 7 Replies


ADVERTISEMENT

General :: Command For Restarting Apache?

Jun 14, 2010

i know it's a very simple command to restart apache via ssh.

View 13 Replies View Related

General :: Netstat Command To See If Apache Hit The MaxClient Setting?

Jun 15, 2011

Whats the proper netstat command to see if Apache hit the MaxClient setting?

View 1 Replies View Related

General :: Bash - Links -command Not Found - Error In Apache Server

Nov 6, 2010

I am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.

View 2 Replies View Related

General :: Unable To Start Apache On CentOS - Invalid Command 'Order'

Aug 25, 2009

I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13

View 99 Replies View Related

Server :: Apache - Invalid Command 'SetEnvIfNoCase?

Jun 4, 2011

Apache is complaining about an error with SetEnvIfNoCase when I tried to start it. I've checked that the module /usr/local/apache2/modules/mod_rewrite.so exists. Also the 2nd code block below shows that I'm using the <IfModule rewrite_module></IfModule> tags so if the module isn't available, Apache shouldn't have read that part of the file. The fact that it's reading inside that tag pair means it's able to load the mod_rewrite.so DSO.

Code:
[root@test httpd-2.2.19]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 203 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration

[Code]...

View 7 Replies View Related

Fedora :: Setting Default Browser From Terminal Command?

Jul 23, 2011

Anybody know the names for the config for trying to set the default browser in Fedora KDE (from Konqueror to Opera ) ...

Code:

update-alternatives --config (name)

this may be for debian distros only ?

[URL]

i.e what are the group names ?

View 6 Replies View Related

General :: Will Command Service Httpd Restart Apache Service?

Dec 25, 2009

will the command service httpd restart the apache service if i enable httpsd service in graphical mode

View 12 Replies View Related

OpenSUSE Install :: Yast2 - Bash Apache Command Not Found

May 3, 2011

I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found". I don't if I haven't successfully installed it, or I have installed it but just haven't put it into PATH yet. So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates? And if I haven't probably installed it, then can you tell me the how I can installed it? And I am asked to install apache mod_wsgi as well.

View 9 Replies View Related

Ubuntu Servers :: Starting Apache / Getting Error Invalid Command?

Oct 20, 2010

I am trying to install Zend Server, and that went well. Apache and all the other items were installed.

But when I go to start Apache, I get this error:

Quote:

root@laptop:~# /etc/init.d/apache2 restart
* Restarting web server apache2 Syntax error on line 6 of /etc/apache2/sites-enabled/zendserver_gui.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
[fail]
And on line 6: php_admin_flag tidy.clean_output off
The rest of the file is below:

Quote:

# Warning: Modifying this file will break the Zend Server Administration Interface
Listen 127.0.0.1:10083
NameVirtualHost 127.0.0.1:10083
# do not allow override of this value for the UI's Vhost as it should always be off when generating non-html content such as dynamic images
code....

View 1 Replies View Related

Server :: Shell Command Which Allows To Have Number Of Requests/seconds Under Apache?

Jun 26, 2010

1-Can I have the shell command which allows me to have the number of reques ts/seconds under the Apache server?

2-And the number of sons threads in service/wait?

View 3 Replies View Related

Software :: Install The Ssl Module For Apache - Invalid Command 'SSLEngine'

Oct 17, 2009

I compiled a fresh install of httpd on a new linux box, added a virtual hosts entry for an https site, but when I try to start apache I get the error:

Code:

Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration Is this because I don't have mod_ssl compiled in?

View 3 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

General :: Clean Install Of Apache - Cannot Open In Browser

Oct 11, 2010

I have a machine which is currently running IceCast (a streaming audio server), which runs on port 80. I installed Apache 2 and configured it to run on port 18080 through the httpd.conf file. Restarted httpd service. I cannot get to 10.0.0.128:18080 (this is the IP of the machine). The Icecast server webpage is still accessible. No logs are generated by apache in the logs folder. Firewall is off (iptables).

View 7 Replies View Related

General :: Configure Apache To Show Error Message In Browser

Jan 31, 2011

How can I configure apache2 to show the error message in the browser? Just for the purposes of debugging, I do not want to have to open the server error log every time.

View 1 Replies View Related

Ubuntu :: ./ Terminal Command Is Not Working?

Apr 3, 2011

I just recently installed Ubuntu to do some light perl development. I was installing Adobe Air and after I made the bin file executable, I could not run it with the (./). It says that there is no such file or directory. Here is the output from my terminal:

alan@workstartion:~$ cd Downloads
alan@workstartion:~/Downloads$ ls -a
. hal-9000.png
.. libflashplayer.so
AdobeAIRInstaller.bin mass-effect-normandy-sr1.jpg

[Code]....

I've deleted the .bin and re-downloaded it, I have renamed it, moved it and even tried executing it by removing the .bin and running it from its location. I am still getting the same errors.

View 9 Replies View Related

Ubuntu :: Gedit Command In Terminal Not Working

May 1, 2011

I am trying to use the gedit command to edit my smb.conf file. It was originally working and all of a sudden it has stopped working. I have typed.. 'gedit /etc/samba/smb.conf' but it is a no go. I used the chmod command to set permissions as.. 'chmod 744 smb.conf' However I am still unable to get the file to open. If I do the 'more smb.conf' command I am able to read the contents of the file, however I am unable to edit them.

View 9 Replies View Related

Server :: Apache / PHP - Getting Blank Page In Browser

May 8, 2010

I have created a php page with only
PHP Code:
<? php echo "OK"; ?>
in the code. When I go to that page in a browser, I get a blank page. Is that normal, or am I suppose to see the word "OK" displayed in a browser? When I became curious, I open up Wireshark to capture the packets, I see that my server is giving out a "HTTP/1.0 500 Internal Server Error".

Here's the entire tcp stream:
Code:
GET /services/test.php HTTP/1.1
Host: 192.168.1.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 .....

View 6 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Ubuntu :: Terminal Command - Cd - Media - My Passport Is Not Working

Jun 14, 2011

The drive is mounted, and I'm saving files to it, but I can't navigate to it in terminal with the cd command. I can access other USB drives. Is it the space in the drive name? how to access the directory?

View 3 Replies View Related

Software :: Setting Up Apache To View Awstats From Web Browser?

Feb 28, 2009

I just installed AWStats on a new server and can't get perl to properly work as a cgi in apache. I've done this before and got it to work, and I've tried a couple suggestions found from google with no luck. When I try to access [URL] from my browser, Apache doesn't give any errors or anything, it just outputs the perl file in plain text, which implies that it's not handling the .pl file as a perl cgi, but I just don't know why.

Code:

<VirtualHost *:80>
DocumentRoot /webs/mysite.com/wwwroot
ServerName mysite.com
ServerAlias www.mysite.com

[code]....

View 12 Replies View Related

CentOS 5 :: Browser Don't Start Apache After PHP Update Or New Installation?

Nov 24, 2009

after I do all new installation and before i do PHP update my browser can show me apache default page but after update PHP to 5.2.0 I can't even see the default page and always give me Problem loading page and I have 3-4 times reinstall my server which i need to do this as mail serer locally. Here are the version for my php and apache on my server currently :Apache[root@localhost local]# httpd -vServer version: Apache/2.2.14 (Unix)Server built: Oct 14 2009 13:19:18

PHP
[root@localhost local]# php -v
PHP 5.2.11 (cli) (built: Sep 21 2009 14:49:09)

[code]....

View 5 Replies View Related

General :: Apache Website Not Working / Solution For This?

Jan 22, 2010

I have a LAMP server configured. Yesterday, I had a test.php file displaying everything fine. I transferred some files over to the new server and now I can't connect to the test page, webmin, or phpmyadmin. I think it has something to do with Apache but Im not sure what to do next. I have restarted Apache, MySql and all services are running.

View 3 Replies View Related

General :: Syslog - Access Log Of Apache Not Working

Aug 11, 2011

I am running a syslogd on my ubuntu 10.10 system. I have a apache2 server on the same machine. I have configured my apache2.conf file to send the error logs to the local syslog server.

The config is as under :-
LogLevel notice
ErrorLog syslog:local1

I have also configured the /etc/syslog.conf as under :-
local1.info /var/log/apache2/error_logs

I have created a file in the /var/log/apache2 dir with the ownerships and permissions as under:-
-rwxrwxrwx 1 syslog adm 77 2011-08-11 18:14 /var/log/apache2/error_logs

Next I restarted the sysklogd and apache2 servers with a service command as under:-
sudo service sysklogd restart
sudo service apache2 restart

I thereafter observed the /var/log/apache2/error_logs file and found the entries for apache2 closing down and coming up as under:-
Aug 11 18:14:14 cc apache2[4940]: [notice] caught SIGTERM, shutting down
Aug 11 18:14:19 cc apache2[5282]: [notice] ModSecurity for Apache/2.5.12 [URL] configured.
Aug 11 18:14:19 cc apache2[5282]: [notice] Original server signature: Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o
Aug 11 18:14:20 cc apache2[5285]: [notice] Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o Microsoft-IIS/5.0 configured -- resuming normal operations

Now the problem is I donot get any other messages thereafter. So it is hardly useful. How can I increase the logged messages from apache. I tried the facility:
local1.*

Then restarted the sysklogd and apache2, but the contents of the /var/log/error_logs file remained similar. Next, I followed the link. I created the perl script for recording access logs of apache2. I then restarted the apache2 and sysklogd. when I opened my website from a browser, the access log did not work. I think I am getting something wrong with the facility value , in apache2.conf it is ErrorLog syslog:local1 ! but the script is suggesting that it should be local2 in the line 4
openlog('apache','cons','pid','local2');
I therefore changed the script to local1 in above line. But still no access log?

View 2 Replies View Related

Ubuntu Installation :: Commands Are Not Working In Terminal / Command Is Not Executed?

Jul 19, 2010

I am working on Ubuntu 9.10.Since last two days there is issue while working with Terminal.Whenever I type a command and press enter it doesnt do anything. command is not executed. I guess its in loop. when I press Ctrl+C then it comes out of loop. this happens with all commands and I am not sure what is the problem.I have reinstalled Terminal but it did not worked.

View 8 Replies View Related

Software :: Start Local Applications On Apache Server Using Browser

Nov 9, 2010

I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.

View 3 Replies View Related

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

View 1 Replies View Related

SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?

Feb 4, 2010

Any one have an idea How to clear apache cache without restarting apache server.

View 5 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved