2,128 Topics

Member Avatar for
Member Avatar for Stefano Mtangoo

I want to use JDBC with apache's pooling library. I can't find easy tutorial/example to follow. Please help me get it up and running. I have it downloaded and I watch at it puzzled :)

Member Avatar for Stefano Mtangoo
0
106
Member Avatar for RobotFX

So, I have Wordpress and Buddypress the latest installed and also other plugins and, on the same server, an osdate script. The osdate can upload files of any kind, with no problem. both have no restriction in the htaccess file, they use the same php.ini etc. However, every time I …

0
95
Member Avatar for prem2

Hi all, I have downloaded the apache-tomcat-6.0.26-src and unzip into my directory. Directory:/home/prem/Download/tomcat/apache-tomcat-6.0.26-src. I am using Red hat machine. To find where my java installed i use the following command: which java; Output: /usr/bin/java Environment Variables: export JAVA_HOME=usr/bin/java export CATALINA_HOME=/home/prem/Download/tomacat/apache-tomcat-6.0.26-src When i run the version.sh file in tomcat i received …

Member Avatar for peter_budo
0
161
Member Avatar for muralibobby2015

hello...i am using wamp server. i donot know how to rewrite url. i dont have a bit of knowledge to use .htaccess. please tell me how to write. first of all can we change any thing in apache2 folder which is server? and next i was directly placed .htaccess.txt file …

Member Avatar for muralibobby2015
0
184
Member Avatar for techie81

Am using a JSP code to upload multiple files. It is running properly in Developement system, but in the production system it is giving error : HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. …

Member Avatar for parry_kulk
0
286
Member Avatar for benkyma

Hi, I'm struggling with mod_rewrite. I need it to rewrite: [url]http://www.domain.com/C/V[/url] to: [url]http://www.domain.com/?category=C&video=V[/url] So far I have these two rules: [CODE]RewriteRule ^([^/\.]+)/?$ /index.html?category=$1 [L] RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /index.html?category=$1&video=$2 [L][/CODE] but it doesn't seem to work. I'm not receiving any parameters through in my js on the other side. It also behaves …

0
106
Member Avatar for johndoe444

I logged into a computer which is not mine. I know there is apache installed because when I type whereis apache it shows /etc/apache it has only a few files. I need to know where the htdocs directory is and also where http.conf file is. How do I accomplish this? …

Member Avatar for griswolf
0
286
Member Avatar for ceyesuma

Hello Could someone tell me if this code is even close to code for a login using a DAO and an embeded db? if not there is a proceedure losted below that I really don't understand the '?' and how to use the uid to query the db [b]specific question[/b] …

Member Avatar for ceyesuma
0
388
Member Avatar for pradeepktg

Hi, I have developed application in jsp and apache tomcat. How to achieve extension less url? For eg, if have [url]http://www.xxx.com/yyy.jsp[/url] as [url]http://www.xxx.com/[/url] and [url]http://www.xxx.com/user/yyy.jsp[/url] as [url]http://www.xxx.com/user/[/url]

0
65
Member Avatar for andydeans

Hi, I was wondering if some of you guys could give me some advice. I have a normally setup websites for clients on a reseller account from a hosting company. However I was looking at setting up my own PHP/MYSQL server in a new office. We are looking at business …

Member Avatar for HITMANOF44th
0
117
Member Avatar for capoon

Good day everyone,I want to publish a website as regard to testing because this is my first attempt. My database is mysql server located at C:\Program Files\mysql , my php at C:\php and and my apache at C:\Program Files\tomcat. please how do i gather all this into one folder so …

Member Avatar for Member #334542
0
110
Member Avatar for filch

Hi, I am having a hard time with a site after having to move servers because of a drive failure on the old one. I have one site that is MySQL driven, for membership, access levels etc. When I try to log in, the server hangs and never does connect. …

0
79
Member Avatar for voolvif

Hi, I'm trying to count the number of unique IP addresses present in an apache log file. I am using a text file to store the unique IP addresses as this needs to scale to large numbers of IP addresses (upwards of 100 million) so using a dictionary or any …

Member Avatar for TrustyTony
0
2K
Member Avatar for kripajayaraj

Hello der... can sumone please help me? i want to upload a file n form field data from a form. but since i am using multipart/form-data i am unable to get data field values.... i got codes using org.apache.commons.fileupload package... even though i downloaded n placed d respective jar in …

0
33
Member Avatar for ceyesuma

Hello Can someone get me started in the effert to fix this SQL statement to be excepted to create a table in a derby embeded db? [code] public boolean createTables(Connection conn) throws FileNotFoundException, IOException { System.out.println("in createTables:"); boolean createdTables = false; Statement stmt=null; try { String thisTable=ModelUtils.getXMLResource("createAdminTable"); System.out.println("thisTable sql String: …

Member Avatar for ceyesuma
0
347
Member Avatar for thiyagu_mca2006

Hi All, Im Thiyagu, a junior software developer(Java/J2ee). I have assigned to access Webservice (sending request and receiving response from a WSDL). can any tell me the steps involved to convert Java code from a WSDL file using Axis(with ant build script). please very urgent. Note : I already tried …

Member Avatar for MudassarNazar
0
681
Member Avatar for ceyesuma

Hello Could someone tell me what derby requiers to make this conn? [code] public boolean createDatabase() throws FileNotFoundException, IOException { boolean createdDb = false; Connection conn = null; String dbURL = getDbURL(); String user = ModelUtils.getXMLResource("user"); String password = ModelUtils.getXMLResource("password"); System.out.println("in CreateDatabase:try:dbURL FROM XML properties: " + dbURL); System.out.println("in CreateDatabase:try:dbURL …

Member Avatar for ceyesuma
0
137
Member Avatar for aman_preetji

sir , i have created a jsp page . inbetween which i write javascript code . code is acessing xml file(i attached also the xml file and i placed that file in apache .i m entering the path of xml in text bob of jsp page) using ajax and parsing …

0
61
Member Avatar for filch

I am in a jam. And, I am pulling out what hair I have left. I have a server with CentOS4 on it. It has Tomcat running on port 80. This seems to be hijacking all the sites. By this I mean, I want to run a bunch of non-tomcat …

Member Avatar for filch
0
201
Member Avatar for sendilkumar06

Please let me know how to fix this. description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:599) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.lang.ClassNotFoundException: org.apache.jsp.one1_jsp java.net.URLClassLoader$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(Unknown Source) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597) …

Member Avatar for peter_budo
0
633
Member Avatar for ceyesuma

Could someone look at my Statement stmt? is this error due to improper string creation? Thanks [code] [/code] [code] public String stmtCreateStudentTable = "CREATE TABLE student (" + "stu_uid CHAR(11)," + "stu_password CHAR(11)," + "stu_lname CHAR(20)," + "stu_mname CHAR(20)," + "stu_fname CHAR(20)," + "stu_gender CHAR(1)," + "stu_age INT(3)," + "stu_start_date …

Member Avatar for ceyesuma
0
132
Member Avatar for aks_1

i am trying to deploy a .war file on my local server using sun microsystem's application server. the problem i am having is when i try to launch it in the address bar as: [url]http://localhost:8080/HelloServlet/[/url] it shows the [B]directory listing for/[/B] text on the screen. but when i insert /hello …

Member Avatar for jwenting
0
132
Member Avatar for RobotFX

I've just installed Cent OS 5 on my server and I'm trying to configure it using Webmin. Now I've reached the Apache section and I want to install/uninstall apache modules, but in the apache configuration page cannot see the modules section. This is very strange. Previously I had Ubuntu and …

Member Avatar for RobotFX
0
1K
Member Avatar for hknight

Using mod_rewrite I use this to test if a file exists: [code]RewriteCond /home/myact/public_html/pagecache%{REQUEST_URI}/index.html -f[/code] How can I test if the file exists and is less than 5 minutes old?

Member Avatar for hknight
0
122
Member Avatar for aks_1

i want to compile .jsp file. i have downloaded tomcat 6.0. and set environmental variables e.g. set PATH="C:\Program Files\Java\jdk1.6.0_10\bin";%PATH% set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10 set CLASSPATH=.;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\servlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\jsp-api.jar;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\el-api.jar;C:\Servlets+JSP;..;..\.. i hava searched pages related to configuring web.xml, context.xml etc but i am still unable to load …

Member Avatar for aks_1
0
155
Member Avatar for knkk

Hi everyone, I recently migrated to PHP 5.3.2, and realized that I am unable to turn off notice errors in my site now. I went to php.ini, and in these lines: [CODE] ; Common Values: ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.) ; …

Member Avatar for knkk
0
187
Member Avatar for butchrappe

I have a server running Fedora 12. The web site has always worked when viewed by Firefox and IE - until we updated to Fedora 12. It now works fine with Firefox, but only get the default page when using IE. Am I forgetting something about the setup? Totally possible, …

Member Avatar for colweb
0
113
Member Avatar for EvilOrange

I'm sure this has been asked before but I searched to no avail. I'm very pleased that Apple include Apache2 and PHP in all their builds but the fact they don't include GD, PDO_mysql and mcrypt (among others) isn't so great. I had this sorted until a recent update by …

0
73
Member Avatar for lifeworks

Hi I wasnt sure where to stick this, so Im asking this crowd I am putting together a website which works on an MVC principle, my own framework, and need some help with the .htaccess file. Specifically, if I want to make a pdf available for download, my url parser …

Member Avatar for lifeworks
0
6K
Member Avatar for thosecars82

I have a problem with this code [code] <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.example.com" ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <?php $language="fr_FR"; putenv("LC_ALL=$language"); setlocale(LC_ALL, $language); bindtextdomain("messages", "./locale"); textdomain("messages"); print "<p>"._("hi! …

Member Avatar for Member #120589
0
1K
Member Avatar for nevergone

Hi, I have a website called [url]www.site.com[/url] I have a product.php file and a categories.php file that generate the URL's and content dinamically. In .htaccess I have the following rule. [CODE]RewriteRule (.*)_(.*)\.html product.php?category=$1&name=$2 RewriteRule (.*)\.html categories.php?category=$1[/CODE] Everything is ok by now. When I try to change the rewritting rule to …

Member Avatar for nevergone
0
140
Member Avatar for Mandana_bgh

hi I use log4j framework for logging my program. i insert log4j.xml in my project an test it. everything was ok and logfile correctly was put in path. but when i made jar file and copy it to linux and run it it return error [CODE]log4j:ERROR Could not open [log4j.xml]. …

Member Avatar for peter_budo
0
170
Member Avatar for Waher

I am using Wampserver for my Windows Apache-PHP-MySQL stack. The file accessed has a header that defines it as utf-8, meta tag in HTML also defines it as utf-8. My best guess so far is that it has something to do with Apache. Searching through Google was of little help …

Member Avatar for nav33n
0
315
Member Avatar for azeemjaved

hi, I am trying to install OTRS on my server. At the end of the installation it says "Copy Failed". When I check the services, the Apache Services does not start and the when I try to start this manually, it says: --------------------------- Services --------------------------- Windows could not start the …

0
45
Member Avatar for peter_budo

I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with [code=xml] <Engine name="Catalina" defaultHost="mydomain.co.uk"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="mydomain.co.uk" appBase="/home/user/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>www.mydomain.co.uk</Alias> …

Member Avatar for peter_budo
0
1K
Member Avatar for Styrofoam

I am mostly following this page: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] I used this command to create the keystore keytool -genkey -alias tomcat -keyalg RSA -keystore /etc/tomcat6/keystore and answered the prompts Then i edited my server.xml file and uncommented/edited this line [code] <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/etc/tomcat6/keystore" keystorePass="tomcat" /> …

0
325
Member Avatar for Member #313863

I compiling with Solaris 10 SPARC, jdk 1.6 from Sun, Ant 1.7.1 from OpenCSW. I have no problem running hadoop 0.17.2.1 However, I have problem compiling/integrating hive with the error 'cannot find symbol', although I followed the tutorial. I have the hive source code from SVN exactly from tutorial. How …

Member Avatar for masijade
0
939
Member Avatar for =OTS=G-Man

Hello everyone, Im trying to get my server setup for a small web hosting type system (for friends). everything is working except subdomains ive used vhost_alias for ever when i was just hosting my site to do wildcard subdomains. But I can'e seem to get it working on more then …

0
167
Member Avatar for niths

[QUOTE]hi i am new to php. i am getting the following error ----Warning: fopen(C:/Program Files/Apache Group/Apache2/htdocs/Project/) [function.fopen]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\Project\download.php on line 4---- ----Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\download.php on line 27------[/QUOTE] …

Member Avatar for n_e
0
303
Member Avatar for strax

hello, setting up my first home server here. i can access apache server on my local network fine, but port 80 is blocked by my isp, so I cant access it from outside my lan. so i added listen 8080 to port.conf then i forwarded the port in my router. …

Member Avatar for rch1231
0
154
Member Avatar for hardik.rajani

Hi. I am using apache servicemix and apache activeMQ in my product. Here in case of HttpConnector i found a performance issue. If i increase number of total request at a time then as the number will increase exchange queue gets stuck on any of the component. After all the …

0
74
Member Avatar for sutt0n

New to Mod_Rewrite and have some of the basic fundamentals down, but am stuck right now and need a bit o' help from someone who's experienced. Right now I have a .htaccess page that replaces "index.php?page=pagehere" with "pagehere.php". Well, I want to put another GET variable on the end of …

Member Avatar for cwarn23
0
80
Member Avatar for lastlight

Howdy all, For some reason I just can't get my modules imported into my CGI script and run in a browser. It will print the HTML fine in a command prompt call, but the browser gives an "Internal Error 500." Error in Firefox & IE: Server error! The server encountered …

Member Avatar for ItecKid
0
164
Member Avatar for rubyonrails

I have deployed a <URL SNIPPED>rails application on shared hosting server. FYI I am using passenger with apache2 module. But It gives an error.

Member Avatar for sourcebits
0
159
Member Avatar for johndoe444

What is the server program that is usually used to php? Is it apache? If so how to deploy php applications to apache? I installed apache and try to look at their documentations. This seems a mammoth task to wade through this massive collections of documentations. What are the relevant …

Member Avatar for almostbob
0
90
Member Avatar for Japus

Hello I'm trying to make some kind of a web interface for my server using Ruby and CGI in it. All runs on an Apache2 server. I can list all the files in a directory but I can't download them. I list all the files using the Dir[**/*.*] command to …

0
48
Member Avatar for RobotFX

Hi! Does anybody know of a [U]script capable to read feeds and store them in static files[/U]? Also, if possible, to [U]create an index of these files, too, so visitors on the website can find them easily by date or name,[/U] for example? What I'm trying to do is to …

Member Avatar for BzzBee
0
357
Member Avatar for tom12c

First, apologizes if this post is not in the right category. I have this in my apache configuration. AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript application/x-javascript text/css SETOutputFilter DEFLATE Options +FollowSymLinks Header append Cache-Control public <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|php|js|png|gif|swf|css|jpg)$"> ExpiresActive On ExpiresByType image/gif M5184000 ExpiresByType image/jpg M5184000 ExpiresByType image/jpeg M5184000 ExpiresByType image/png M5184000 …

0
74
Member Avatar for alex.tepes

Hi, I need to host a Website I can develop but I want first some hosting solution opinions other from what I can get from my hosting provider company :) The site will be built using php+mysql basically - i need [B]*nix[/B] system. It's about a big corporate website that …

Member Avatar for jamesl22
0
212
Member Avatar for ritzrash

I am new to php but have modified an entire code in two weeks. I have it all working, however the last change that i made is not being seen on the web page. I am dealing with php 5.1.6 and apache and since then whatever change i am making …

Member Avatar for ritzrash
0
90

The End.