3,436 Topics
![]() | |
OK, this is wierd and also a first for me. Alright, I have XAMPP and am currently in the process of creating a game in PHP. But randomly the XAMPP control panel told me the the starter application for Apache was corrupted, so I tried to replace the file with … | |
Hello all, How would I go about getting my site to redirect any visitor to [url]http://site.com[/url] rather than [url]http://www.site.com?[/url] I have searched the forums here and have tried various coding people have provided but none of it seems to work. Could someone maybe post a step by step guide on … | |
[code=php] <html> <head> <title> ftp php test page</title> <?php $ftp_server = "10.209.152.220"; $ftp_user = "deepthisk"; $ftp_pass = "Hatepwd1"; // set up a connection or die $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to ".$ftp_server."\n"); // try to login if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as ".$ftp_user."@".$ftp_server."\n"; } else { echo … | |
![]() | I've just landed myself in it. I offered to help out with a programming club at our school. Doh! The school is lumbered with VB6. I refuse to dirty my hands with it - the last time was about a 1000 years ago. I proposed to do a starter on … |
Hello: I am using the Apache James SMTP with Blat for a front end with "localhost" as the mail server to send emails from a machine; however, not all emails are being delivered. Messages are delivered fine to addresses at GMail, although they are sent to the spam folder and … | |
[COLOR="Red"][B]I am try to compare the best appliance and Server Firewall: for example Cisco ASA and Linux iptables based Firewall, which performs better under which conditions?[/B][/COLOR] | |
Hi, I was looking into SEO friendtly urls and how to get it set up . I found some solutions to do with mod_rewrite . If the usual URL is [url]http://website.com?category_id=10&post_id=10[/url] And i want the url like [url]http://www.website.com/category[/url] name/ post title / how do i do this ? ive seen … | |
I have Ubuntu 9.10 running on Oracle Virtual Box in my Windows Vista computer. I have XAMPP running on both. The host is currently set to 192.168.10.4 and the Virtual machine at 192.168.10.3. I tried running the same code independently on both computers and it runs fine on Windows. In … | |
Hi all, I am using quartz scheduler in my web application for scheduling some data base tasks based on time.But after scheduling I am unable to connect to my application. I am using NetBeans.It is showing exception like this. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was … | |
Hello i want create gui for aria2c( internet download manager ) with java for doing this aria2c has built in xmlrpc. i use xmlRpc to create gui for aria2c. in aria2c support site there is a example code for python programming language that uses xmlrpc [CODE]>>> import xmlrpclib >>> s … | |
Hi everyone, I have designed my website from 6000 static HTML pages to a more structured system. However I am not carrying over same structure so I will need to setup a bunch of 301 permanent redirects in order to keep my search rankings. (have spent a lot of money … | |
Hi all, I have a running cron job as below: [CODE] */10 * * * * java -classpath "/shared/smsfiles/camps/jean.jar" emailrpts "71.25.24.45" "sile@lango.com" "password" >>/dev/null [/CODE] I would like to change the parameters "71.25.24.45" "sile@lango.com" "password" to "51.25.24.40" "jimbo@jalango.com" "passwordtwo". Whenever I change on the crontab and save, the application running … | |
Hi guys, I've got a small problem, though I have a feeling that it will be simple to fix. I just cant figure out how to do it! I'm currently running XAMPP/Tomcat as my web server, and having developed the site in JSP/JAVA, the only way i can access the … | |
Hello everyone, I am a beginning programmer using XSLT. I work at a company wich has a database witch generates catalogs, exporting XSL and XML to FOP.(wich converts to PDF). the program runs on apache and is build in delphi. That being said, I was wondering if it is possible … | |
I have a monitor that has two inputs, my windows box is in one and my server(running ubuntu server) is in the other. Currently to control the server I have to use a seperate keyboard that is plugged into it. Is there a program that, when I switch the input … | |
Hello, im very new to Web development. i recently intalled the Apache server on my machine running Linux(Ubuntu 9.10). i downloaded the Apache server. But, in order to run the html documents via the server, we need to place it in the /var directory right? But im denied that permission. … | |
Hi! I've decided to open a new thread for discussing the problem with uploading a file to a SUB-FOLDER at the FTP Server. So, I'm using Apache Commons library and I can upload my file to the Home Directory of the FTP server. However, if I want to upload it … | |
Hi, I am using Eclipse Helios in Fedora 10 i386. I am using WebSphere Application Server Community Edition plugin [B][COLOR="red"][COLOR="Red"]( Apache Geronimo 2.1)[/COLOR][/COLOR][/B] in Eclipse. My problem is that , I can not upload a file using [B][COLOR="red"][COLOR="red"][COLOR="Red"]UploadBean ( a very popular JavaBean )[/COLOR][/COLOR][/COLOR][/B]. I am adding the jar files … | |
Hey every one... im trying to read file path from .txt I can read it but there is one big hole in which i stepped.. So if you could help me out?? lets see the code looks like this: [CODE]Imports System.IO Public Class Form1 Function INIparse(ByVal TextStringToProcess As String, Optional … | |
Hi am a noob working with Apache, mod_wsgi and python. Below is some sample code on the internet that will return "Hello World!" when i go to my local server: [url]www.localhost.com/py[/url] note: I do have WSGIScriptAlias /py "C:/Users/user/site/handler.py" in my httpd.conf [CODE] def application(environ, start_response): status = '200 OK' output … | |
dear members, now i am developing a login page for my system using jsp. here is my boundary code [CODE]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import="java.util.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><body> <jsp:useBean id="idHandler" class="DBConnection.Login" scope="request" /> <jsp:setProperty name="idHandler" property="*" /> <% String username = request.getParameter("USERNAME"); … | |
Hi all, Im investigating something in my job where on 1 paticular date the timestamp function on php on a centos box is 4 days out of date. All others either side of it are correct. What im hoping to find out is where I could find a log on … | |
Hi, I need to call a public static method that returns in xslt. I'm using jstl to do the transformation and hence using the jaxp parser which would use XSLTC or Xalan internally. The way I have the namespacee declaration for my xslt is <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:autn="http://schemas.autonomy.com/aci/" xmlns:myUtil="http://xml.apache.org/xalan/java/com.csa.porter.scat.CategoryUtils" xmlns:java="http://xml.apache.org/xalan/java" … | |
After being requested to write a tutorial a few times, I've finally found the time to create a mod_rewrite tutorial for vBulletin 3. What this tutorial will allow you to do is make your vBulletin forum search engine spiderable - for Google and all the others. [i]<< update >>[/i] [i][b]This … | |
HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116) org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:430) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:499) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1558) org.apache.jasper.compiler.Parser.parse(Parser.java:130) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245) org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:176) org.apache.jasper.compiler.Compiler.compile(Compiler.java:317) org.apache.jasper.compiler.Compiler.compile(Compiler.java:298) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:309) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) note … | |
HTTP STATUS 500 PLEASE HELP ME description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.NullPointerException org.apache.jsp.janki.bsal_005fsearchresult_jsp._jspService(bsal_005fsearchresult_jsp.java:107) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the … | |
So I guess you guys are getting pretty fed up of answering questions about mod_rewrite, but here's another one to add to the pile. So I'm working on a new version of a site that's currently running (Lets call it mysite.com). Any visitor to [url]http://mysite.com/[/url] will be visibly redirected to … | |
Hi all, I am attempting to use the LWP::UserAgent to request a Soap call, and in the response the request returns a TIFF image. When I write the contents out to a file(binary mode), the file also contains header information. How would I go about extracting just the body(TIF image) … | |
Greetings all, I'm trying to write a CMS for a photo gallery, and I worked out that the best way would be to upload the images to a directory and have a mysql table to store the relative location of the images for later use. I have 1 problem, which … | |
Hi all, Does anyone know of any good tutorial that explains how to set up a website on apache web server. I need it to be in Linux (Ubuntu). Or if anyone can explain to me how to do it that would be great to :) all I need to … | |
Although my server has php memory allocation of 64MB I get [QUOTE]Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 311296 bytes) in /home/kasey/public_html/Create/wp-includes/class-simplepie.php on line 4186 [/QUOTE] in my dashboard for WP/buddypress combination blog. I re-installed buddypress.WP won't allow a re-install despite the fact that it … | |
Hi, I am getting this error. "org.apache.commons.net.MalformedServerReplyException: Could not parse response code." after this line...ftp.connect(ftpHost.getHostName(), 22); Please help me. Thanks, Anurag | |
hello, I am new to php and apache..any help is appreciated. I am designing a music website..I am designed the music player with flash.I have xml file like this where my flash player play the songs from the url..I have a folder named songs. <song> <track>Princess Song</track> <artist>Artist Two</artist> <url>songs/princess.mp3</url> … | |
I recently purchased a Linux VPS the following specs. Operating system: CentOS Linux 5.5 Webmin version: 1.520 Kernel and CPU: Linux 2.6.18-028stab070.4 on x86_64 Processor information: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 16 cores Real memory: 512 MB total, 361.74 MB used Local disk space: 30 GB total, 3.62 GB … | |
Hi, I can print anything from any software. When I check the properties of my (hp LaserJet 1320), the 'owner' column has the name of my Windows XP login account which is 'Fella'. All fine up to here. When use code below, the properties of my (hp LaserJet 1320), the … | |
![]() | Hey there...Well I am using checkboxes to post the multi-dim array; but the thing is When I retrieve & explode it directly ,It shows an error [COLOR="Green"]Warning: explode() expects parameter 2 to be string, array given in C:\ms4w\Apache\htdocs\test24.php on line 12 NULL[/COLOR] So If I do use 'for loop' to … |
Hello All, I'm not sure if this is the right place to put this, I apologise for it any way. Okay so here it is, I have a sitemap file [icode]sitemap.xml[/icode] and I have PHP code inside it. The problem I am having is when adding the following lines: [code] … | |
I keep getting this error. The app is looking for a class and in fact so am I where should this class be? I can't find it in the: [b]db-derby-10.6.2.1-bin[/b] and check sup of the dl said it was unaltered? Thanks [code] java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) … | |
Hello, I am trying to map a URL to a sub path using .htaccess. Does this look right? //Rewrite to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.co.uk/sub-path[nc] RewriteRule ^(.*)$ http://www.domain.co.uk/sub-path/$1 [r=301,nc] //301 Redirect Old File Redirect 301 [url]www.anotherdomain.co.uk[/url] [url]www.domain.co.uk/sub-path[/url] //301 Redirect Entire Directory RedirectMatch 301 [url]www.anotherdomain.co.uk(.*[/url]) www.domain.co.uk/sub-path/$1 Many thanks! | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … | |
Can anyone help me in this Redirect Rule : I am trying to Redirect /xxx/yyy/zzz/kkk.htm?package=choice TO [url]http://www.aaa.com/bbb/cc/[/url] This is what i tried, but it did not work: RewriteRule ^/xxx/yyy/zzz/kkk.htm?package=choice$ [url]http://www.aaa.com/bbb/cc/[/url] [NC,NE,R,L] Thanks, Ben | |
hi, this is following on from a previous thread. i have looked around and openssl documentation is a bit unclear. can it secure all sub domains? i would like to use openssl to secure all sub domains and easily add them/manage via cpanel? can anyone help guid me on this? … | |
hi...... i am using window xp.....apache server m new in php i inserted record in database through forms .now i m facing problem to delete the records from database in php code..... above code is not working properly...give me solution within 2 days.... | |
I am using Apache Tomcat 5.5 + JSP in the web server, and MS SQL Server 2000 in another database server. There is no problem before I resinstall the web server due to hardware failure. I am not sure if I miss some configuration that all the Chinese character stored … | |
Hi, I just installed ssl on my apache/centos server. Php works fine over the regular http connection but when I try to reach php files over the https connection for some reason they do not get parsed and delivered directly as text files. Below is the virtualhost section from my … | |
Im just doin some testing with a local webserver. i have one user: hybrid who can login to the webpage fine and has for a while. But when i added a few users: usa, can with simple passwords using: ubuntu # htpasswd passwd can thats works fine. But I cannot … ![]() | |
Hello All: I would like to know how I should go about rotating files that end with a date stamp. This is the configuration I have to rotate my Apache access files, but it is not working: /var/log/httpd/access_log.* { compress daily rotate 1 copytruncate missingok notifempty } The files are … | |
hi am a new joinee, how to get values of selected checkboxes in a table? please help me, selected Lc code from UI, that LC code value should get into the table plz help me out this is my action class, [code]package webapp.control.nri; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import … | |
Hello everyone, I have a little bit problem here.I have installed PHP version 4.4.1 and it's working well. I want to connect PHP with MySQl . I have also installed MySQL and it installed successfully. Inorder to configure PHP to work with Mysql, I did the following changes in the … |
The End.