2,128 Topics
Hallo there everyone, i am using a command on the server (kinit)and after that a password is required to type in the thing is that i would like that to be done automaticaly from the php code! i found that one [URL="http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php"]http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php[/URL] but is not what i want(and is not …
I know this may be a apache related question, but can anyone help me on this issue... I need help on paginating my script, so the and I want to use [U]search[/U].html for the first page (without page number) [U]search[/U]-[B]2[/B].html for the second page [U]search[/U]-[B]3[/B].html for the third page and …
Hello guys! I am trying to implmenent a jQuery library and it worked fine when I ran it out of server. When I tried to run from a XAMPP based web server at home; the images doesn't show and keeps giving this error: 'You don't have permission to access the …
I am kind of new to php. However, I created a form in html and the form action is linked to a php which all on the localhost. When I run the html file enter in information and hit submit. A window pops up and asks me if I want …
I've LAN in my office . We work on local server there but.... is it possible for me to access localhost from my home situated far away from office? Plz help me?????????
Hey Guys I'm gonna start on a eleave system for a business soon and I was wondering which language should I use to write it in ? Can someone give a few suggestions as I'll be using MySQL database and Apache but server side script is not yet decided. Personally …
hello, i want to run a ruby on rails application through apache web server via phusion passenger, i followed everything written in the guide and every guide and im still having a problem i really could use help, i spent two days on it and i am getting frustrated, when …
Hi I'm trying to create tag pages based on one php page that will be re-written to the tag/[tag].html I'm not a programmer so my question is pretty basic. What I have done until now is to create the tagdetail.php and a call to the tag pages that have this …
hi i am new to php. i am getting the following error. ------Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\login\login.php:23)----------- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>username:</td> <td><input …
Hello all! I'm trying to restart a service in my fedora installation, from a php local file. So i discovered the shell_exec command, and tried: [CODE]shell_exec('service nagios restart')[/CODE] I also tried shell_exec('sudo restart.sh') where restart.sh has the line "service nagios restart" in it. The first time i did it, i …
I am building a website locally and I have a crazy problem. If I enter a path to the file in my browser like: file:///home/jcrider/public_html/site/assets/5182/sound/r_Fantasia_Chopin_44.mp3 It will play the mp3, but when I try to run it through localhost like: [url]http://localhost/site/assets/5182/sound/r_Fantasia_Chopin_44.mp3[/url] It does nothing. It did work once, but I …
Hi all, I want to configure Tomcat behind an SSL enabled Apache httpd server. Could anybody show me how to do this ?? I have successfully configured apache and tomcat for http requests. Thanks.
The web server is Apache. I want to rewrite URL so a user won't know the actual directory. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL: piecework.mydomainname.com/en/11 I added the following statements in .htaccess: [CODE]RewriteCond %{HTTP_HOST} ^(?!www)([^.]+)\.mydomainname\.com$ [NC] RewriteRule ^(w+)/(\d+)$ /$1/%1/%1.php?%1_id=$2 [L][/CODE] Of course I replaced mydomainname with my domain …
Hi, I have a Virtual machine at xxx.co.uk with Debian Lenny and Apache2. I am trying to install SVN and have been following this guide: [URL="http://wiki.slicehost.com/doku.php?id=install_and_setup_apache_with_ssl_and_subversion"]http://wiki.slicehost.com/doku.php?id=install_and_setup_apache_with_ssl_and_subversion[/URL] The part where I get stuck is the virtual hosts. I have tried reading loads of guides/posts on this but everybody seems to do …
The website is running on a web hosting where we don't have access on htaccess file.The web server is Apache. I want to rewrite URL. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL:piecework.mydomainname.com/en/11 How to do it?
Hi All, I am testing the web services I have deployed on my glassfish but upon clicking the "test" button, an exception occured. For reference, pls see exception below. javax.servlet.ServletException: javax.xml.ws.WebServiceException: {http://services.wet.webservice.ngin.smart.com/}AccountManagementService is not a valid service. Valid services are: {http://services.lawak.webservice.ngin.smart.com/}AccountManagementService at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:569) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:184) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:119) at com.sun.enterprise.webservice.JAXWSServlet.doGet(JAXWSServlet.java:237) at …
Good Morning Everyone! I'm trying o turn my machine into a development station. I would like to install CF Server, with Apache and IIS. I'm Using widows 7 on a 64bit machine. Is here any certain order on what need to be installed first? Can someone walk me through the …
If you are looking to host hundreds of small websites out of which most of them are static, then which would u consider as your server Intel Xeon 3040 (Dual Core) 1 GB DDR Memory 250 GB Hard Drive 1,500 GB Bandwidth or Intel Xeon 3110 (Dual Core) 4 GB …
I want to upload files through a web application and it works as long as the files are under 8 mb. But anything greater gives the following error in the Apache error log: [INDENT]POST Content-Length of 8593520 bytes exceeds the limit of 8388608 bytes[/INDENT] In php.ini I have: [INDENT]file_uploads = …
i installed wampserver yday and it worked fine when i typed in localhost in the browser. but today when i type localhost to see if apache was running without a problem - it displays the root directory that is the folders contained inside the www directory in a page named …
Beethink ip blocker blocks IP addresses with Apache's .htaccess file. And the blocking rules are based on IP address, port and protocol.
Hi all! After a recent upgrade to PHP 5.3.1, I cannot get my apache http server to start. The only way I can seem to get it started is by commenting out the lines that make PHP work. Thinking, naturally, that the recent PHP was at fault, I reinstalled it. …
Hi, Here at my organization we'd been using an app which worked perfectly fine on the current 5.5 tomcat. But now we wished to upgrade our server to version 6.0 . The problem is that the application almost refuses to start up. I had this web.xml modified to comment out …
hi, how can i access the .htaccess file. i have been created a .htaccess file and write the code wat i want. this is working fine when i should type url with correct formate which i mention in the .htaccess file. i want to redirect page automatically.. plz give me …
a friend of mine have instaled apache in other machine and i have stored my php scripts in htdocs but i dont know how connect remotely from other computer please if someone can help me
I wan to host my own content, but I can't figure out where to put my files. I'm using WAMP, [url]http://www.98.163.121.220.com/cgi-sys/defaultwebpage.cgi[/url] That's my site. How can I just host my own files?
I'm very curious if there is a certain time in the day when people are on social networks more, or any site for that matter and I was hoping someone could point me to a site that shows you hour by hour traffic for websites. I know that in the …
Hello there I am trying to enable php and apache on my mac and i think, i mixed up my settings. Is anyway i could reset my web settings, in particular the line "LoadModule php5_module modules/libphp5.so" is missing. Thank you for your input
Hallo everyone... i have set up a twiki app on my server but i face a problem that i cant deal with... i want to replace this one: [url]http://10.0.0.12/twiki/bin/view/TWiki/WebHome[/url] with those ... [url]http://10.0.0.12/WebHome[/url] OR [url]http://10.0.0.12/TWiki/WebHome[/url] what should i change at the rewrite rule on the apache's config? + there are …
Hello folks, I just updated my homeserver to PHP 5.3.1 and I get now the following error when executing my scripts: [CODE]Cannot use string offset as an array[/CODE] The variable looks like: $bes[$a[3]][$a[4]][$a[6]], where $bes is a three-dimensional array that holds all information I need during runtime. The $a's can …
I have this line added to my .htaccess which is suppose to make all .png files cacheable until end of the month. [CODE] <FilesMatch "\.(ico|flv|jpe?g|png|gif|js|css|swf)$"> ExpiresActive On ExpiresDefault "access plus 1 month" </FilesMatch> [/CODE] But when I run Google PageSpeed it still says that those images are not cacheable. What …
i have a problem: i want redirect everything page in url: ex: [url]http://dracotech.biz[/url] to [url]http://www.dracotech.biz[/url] . want to add www. in everything request from user.. maybe with mode rewrite in apache but i didn't find way how to do it..
hi, I am facing a similar problem. what if this 403 forbidden is inconsistent?
Hi, I've created a Web Service application inside Jboss 4.2.2-GA and I want to set up the jboss log4j configuration so that my Web Service logs inside a custom log file (not inside the server.xml). To do this I've altered the jboss-log4j.xml file to create another appender. This file is …
This is my PHP code (currently commented out in my templates) which is used in the project mentioned here - [url]http://www.daniweb.com/forums/thread251774.html[/url] (a currently ongoing project): [CODE] <div class="indented searchFooter" style="border-top: 1px solid rgb(207, 214, 233);"><table summary="" class="stNoMargins" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="tinyText stNoMargins"><div class="btnContainer"><ul><li><a class="smBtnSel" href="tvguide.php?page=1">1</a></li><li><a class="smBtn" href="tvguide.php?page=2">2</a></li><li><a class="smBtn" href="tvguide.php?page=2" title="Next …
hi everyone is it possible to point images to another website ? i mean for example: this domain doesn't host the image > [url]http://domain1.com/image.gif[/url] this domain host the image > [url]http://domain2.com/image.gif[/url] i want when i request ( [url]http://domain1.com/image.gif[/url] ) it's point to the image on domain2 is it possible by …
Hi guys, I'm new to this and I would appreciate some of your expertise :-) I'll let you know what I'm trying to do: I have a small website with static pages and I just want to remove the extension .php from my files. After lots of tries I came …
I will like to change a url from [CODE]http://www.mysite.com/doc1/doc2/index.php?name=username[/CODE] to [CODE]http://www.mysite.com/user[/CODE] I have tried using htaccess [CODE] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite.com [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] RewriteRule ^/[_a-z0-9-]+(\.[_a-z0-9-]+)$/doc1/doc2/ index.php?name=$1 [/CODE] But i seem stuck. Any help will be appreciated. been on google for about 7 hours
Hello, How can I run a PHP file in Tomcat server? I know it works fine in Apache. Please help Thanks
Hi, I've been doing lots of googling about building a webserver using ubuntu server 9.10 but I got notthing. I mean, a lot of info I read was helpful but it does not work under my circumstances at all. So I want some help from Ununtu geeks. Just reminder I …
Hi, I was wondering if anyone could help. I've got a linux server with virtual hosts set up with separate ips and domain names. Everything works fine for incoming requests, but when I send an outgoing call (using curl php but am willing to change if necessary) the ip address …
Responses (from another site) on my recent, "[URL="http://www.daniweb.com/news/story261566.html"]Security Alert: They Should Have Used Linux[/URL]" led me to explore the conclusion that hacking is really only for those seeking the low-hanging security fruit as their prey. These folks, who tout themselves as "Linux Experts" intrigued me so much with their comments …
I think I've done what's necessary to install mod_php in Apache, but this code fails: ----------modtest.php <?php echo $PHP_SELF?> ------------------------ When I display modtest.php in a browser, I get: Notice: Undefined variable: PHP_SELF in C:\Program Files\Apache Group\Apache2\htdocs\modtest.php on line 1 I've read in docs that this env var doesn't exist …
Is it just me or has Ubuntu 9.04 become broken by not allowing any software to be installed. I have done two clean installs and still the synaptic package manager does not show any items that are not installed. Also I am unable to install any software from the command …
Hi, I have apache2 running on Ubuntu 9.04. I am trying to set up vhosts. I have two files in sites-enabled there contents are: [CODE]<Directory /var/www/video> AllowOverride All Order Allow,Deny Allow from all AddType text/html .htm </Directory> <VirtualHost *:80> DocumentRoot /var/www/video ServerName jvids.co.uk Serveralias www.jvids.co.uk ServerAdmin jameslovejoy1@googlemail.com </VirtualHost> [/CODE] That …
I am doing upload and download script with php. For the upload part, I store the uploaded file, for example, 'my picture.jpg' above my 'htdocs/' with a random name. e.x.: [CODE] [-] htdocs |--[+] download [-] upload |--abcdef <<-- 'my picture.jpg' stored as 'abcdef'[/CODE] The original file name and the …
Hi there, I recently added some new code to an existing jsp page, but I don't know why I ma getting this exception. I double ckecked for common errors but I am not sure the reason for this exception. Can anyone help. Thanks. Here is the exception: type Exception report …
It seems like there ought to be an easy answer to this one, but it's escaping me and I'd really appreciate some help! I want a client to enter his name and be redirected to a folder having that name. For example, on mydomain.com/clients/redirect.htm he is presented with a name …
Hi People I have a url, [url]http://www.domain.com.au/domain1/domain2.php[/url] . Now I would like to remove the middle man aka folder from ever being seen so the url changes to, [url]http://www.domain.com.au/domain2.php[/url] . I have done some research and mod_rewrite looks to be the go in the htaccess file. So can anyone give …
The End.