3,436 Topics

Member Avatar for
Member Avatar for punko

Hi, I have Debian 6,Apache 2.2.16. On this run two page first.net - many visit user, second.net - much less page visit. When restart apache2,that run both page ok, but after few minutes/hours cant load page second.net. In /log/apache2/second.net/error is: [ICODE]mod_fcgid: can't apply process slot for /var/www/webuser/php5-wrap[/ICODE] In log /log/apache2/first.net …

Member Avatar for rubberman
0
625
Member Avatar for apontutul

[CODE]<html> <head> <title>Pie Chart Demo</title> </head> <jsp:useBean id=[COLOR=red]"myChart"[/COLOR] class=[COLOR=red]"classes.beans.votepie"[/COLOR] scope=[COLOR=red]"session"[/COLOR] /> <body> <h2>Vote Results Pie-chart</h2> <%String chartViewer = myChart.getvoteserve(request, response);%> <img src=[COLOR=red]"<%=chartViewer%>"[/COLOR] border=0 usemap=[COLOR=red]"#imageMap"[/COLOR]> </body> </html> [/CODE] accessing this above viewrst.jsp file shows the following error: [CODE][B]HTTP Status 500 - [/B] [B]type[/B] Exception report [B]message[/B] [B]description[/B] [U]The server encountered an …

Member Avatar for victabk
0
2K
Member Avatar for vedro-compota

Hi there)) Guys please tell me - how to make reference to directory which is on higher level that site root (by php - site is on local machine) - may by this situation need some aliases in apache .conf file? As I see the server(apache) don't want to understand …

Member Avatar for vedro-compota
0
188
Member Avatar for basketmen

For a website, sometime we used more than a script that [B]separated[/B], yes separated and dont have connection at all each other for example domain.com is a forum, using vbulletin domain.com/blog is a blog, using wordpress domain.com/store is ecommerce, using oscommerce domain.com/article is article cms, using joomla etc so for …

Member Avatar for rubberman
0
200
Member Avatar for Nathaniel10

Hi. This is not a frequently browsed category, but there is no place else for my question. I am organizing my site to make it easier and faster to maintain. I keep a small version of my site on my laptop running Apache/PHP. I successfully organized and recoded things to …

Member Avatar for Nathaniel10
0
226
Member Avatar for MGadAllah

Hello Just ordered an unmanaged VPS for hosting 2 websites. I'm really new a lot for linux and have few background. I've been goggling and followed some tutorials from howtoforge.com but really was not able to setup everything the right way. I will need to install: - apache - php …

Member Avatar for MGadAllah
0
217
Member Avatar for klcant

I am trying to display the result from a query in to a table. I can do this pretty easily when doing queries from mysql, but cannot get it to work with mssql. Below is the code I used to actually make sure I could get the data (and it …

Member Avatar for klcant
0
5K
Member Avatar for flashmanvc

In my web application I need to be able to allow the user to transfer files (word documents and pictures) from their computer to the server and I have been unable to google an answer. PHP, Apache and MySQL. The problem is mainly I am unsure how to compose the …

Member Avatar for flashmanvc
0
220
Member Avatar for Mahesh57

Hi sir please give the suggestion how to change port number i am chanced port number 80 to other numbers at the location of .httpdconf file- listen changed even its not changed??

Member Avatar for alirz-23
0
166
Member Avatar for pwrlogic

hello i am trying to run a cgi script with a .exe extension :sad: from the cgi-bin in the apache folder the script runs but there must be something wrong because if i look at my access log i do not get a 200 ok i get a 500 604 …

Member Avatar for alirz-23
0
140
Member Avatar for rcbandit

Hi, I'm new to java programming. I need a help about implementing OSGI module and EJB. I wrote this simple OSGI bundle: [CODE]package com.cryptoLib; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class cryptoSha { public cryptoSha() { } public String stringHash(String hash) throws NoSuchAlgorithmException{ MessageDigest md = MessageDigest.getInstance("SHA-256"); md.update(hash.getBytes()); byte byteData[] = …

0
65
Member Avatar for MoreBloodWine

My apologiess if this is the wrong board but I wasnt sure where shell stuff should go but my server is a Linux one so... ------- [code]screen -S minecraft screen -X cd ./public_html/mcmyadmin/ mono McMyAdmin.exe -nostart[/code] I'm using the above code to auto atart a game server on my VPS's …

Member Avatar for L7Sqr
0
85
Member Avatar for sica07

Hello, I have a server on which I host my firstdomain.com. For this I created a name servers: ns.firstdomain.com Now I would like to host a second domain on that server and to use the same nameserves. I know that is posible (is the solution used in shared-hosting). To do …

Member Avatar for Jessica1234
0
275
Member Avatar for Dani

I am using Mac OS X with the built in configuration of Apache. I am taking a web dev class where we're writing perl scripts ... so far I've been able to get my CGI scripts to run via mod_perl. Now, I'm trying to install CGI::Session via CPAN and it's …

Member Avatar for thomasgutierrez
0
348
Member Avatar for RobotFX

Anyway, simple for others, not for me :( I'm trying to redirect this "v1/plugins/recipe_menu/recipes.php?0.view.1446.5.0" to this"offline.html" I have this in my htaccess: [CODE]Redirect permanent /v1/plugins/recipe_menu/recipes.php?0.view.1446.5.0 http://retete-culinare-diverse.ro/offline.html[/CODE] ...but doesn't do anything. Can someone help me here, please?

Member Avatar for manojsamtani
0
147
Member Avatar for warlord902

I want to setup Apache http server on my ubuntu machine, but as I am not good with linux, can't understand how to do that. Latest version is 2.2.21 I was trying to install that. There is a binary for window systems, I successfully installed and set it up on …

Member Avatar for peter_budo
0
139
Member Avatar for sammrat23

I have a website built in .php but we have converted it to .html by using "mod rewrite". the mod rewrite code used in .htaccess is "RewriteEngine on RewriteRule ^(.*)\.html$ $1.php" Now the problem is my website shows up in both .php and .html. for example: [url]www.mydomain.com/index.html[/url] and also [url]www.mydomain.com/index.php[/url]. …

Member Avatar for diafol
0
177
Member Avatar for nakresimin

why do i get this error? can you please help me to fix it? [url]http://204.45.7.122/[/url] [ICODE]overHead(); echo $html->pageTop(); include('loginmenu.php'); include(inc_dir . "/left.php"); echo $html->pageMiddle($config["page_name"]); $toplamkullanicilar = $adetler["JAS_FD"]+$adetler["JAS_FS"]+$adetler["JAS_TP"]+$adetler["JAS_TH"]+$adetler["JAS_OH"]+$adetler["JAS_BG"]+$adetler["JAS_OK"]+$adetler["JAS_OL"]; $ortadakipara = getMoney("JAS_FD")+getMoney("JAS_FS")+getMoney("JAS_TP")+getMoney("JAS_TH")+getMoney("JAS_OH")+getMoney("JAS_BG")+getMoney("JAS_OK")+getMoney("JAS_OL"); ?> [/ICODE]

0
142
Member Avatar for AnkurThakur

Hello Guyz, I could not found any Forum for Web Servers or something related to my problem so I am posting it here. So I am having trouble with Regular Expressions in HTACCESS. So what I have in my website is : [B]ROOT : (my web root is in a …

Member Avatar for pritaeas
0
154
Member Avatar for _SoNo__

Hello guys i recently buy the vps and i am new so i need some help. I need to install apache on my Vps. I tried many google search but its still not install properly. i tried this command --> yum install apache Also tell me the command to install …

Member Avatar for manojsamtani
0
125
Member Avatar for manaila

I have the following URL which I want use to access the content in a remote Apache Tomcat server from a C-based client: [CODE]char url[] = "POST /myDir HTTP/1.1\x0D\x0AContent-Type: text/xml\x0D\x0AContent-Length:60\x0D\x0A\x0D\x0A<root><mygreeting>Hello, World!</mygreeting></root>\r\n";[/CODE] However, I get the response [B]"HTTP/1.1 505 HTTP Version Not Supported"[/B]. I have googled and found that this may …

Member Avatar for manaila
0
163
Member Avatar for jamojo

Hello Everyone, I am using apache POI 3.7. I am trying to replace the value of a table column in a word document (docx). However, what I have done is it keeps appending the value of the current value in the document. But if a table column value is null, …

Member Avatar for jamojo
0
3K
Member Avatar for apapap

This is the piece of code which i am running : [CODE] public static void main(String[] args) throws Exception { System.out.println("Registering Plugin..."); ServiceConnection connection = ServiceConnection.CreateServiceConnection( "ServiceInstance" ); connection.connect(Constants.VCENTER_URL,Constants.VCENTER_USERNAME,Constants.VCENTER_PASSWORD, true); VimPortType service = null; VimServiceLocator locator = new VimServiceLocator(); locator.setMaintainSession(true); if(connection != null){ System.out.println("Connected successfully to vCenter."); service = connection.getService(); …

Member Avatar for NormR1
0
456
Member Avatar for ad_rulz

Dear All, I have a tar file which contains .Z files. File Structure is : x.tar -> [1.Z, 2.Z]. I need to read data from this zip files. So far I have reached a stage where I read entry from tar but am not able to unzip files within the …

Member Avatar for StephNicolaou
0
2K
Member Avatar for brugernavn

hejsa, I just got a little problem.. [B]i only have one public ip.. but i need to host several websites over many local ip's..[/B] so, i need to forward the incomming requsts (from the public) to one of the local ip's.. based on the domainname.. so, [B]mydomain.com > my public …

Member Avatar for brugernavn
0
172
Member Avatar for bsewell

Hello, I want to make a simple website, and friendly urls would be a great step towards that. I have been trying this for 2 days without success. [url]www.mydomain.com/join[/url] redirects to [url]www.mydomain.com/index.php?path1=join[/url] [url]www.mydomain.com/forum[/url] redirects to [url]www.mydomain.com/index.php?path1=forum[/url] [url]www.mydomain.com/forum/getting-started[/url] redirects to [url]www.mydomain.com/index.php?path1=forum&path2=getting-started[/url] These directories do not actually exist. They are going to …

0
150
Member Avatar for nikki05

Hi, I want to redirect domain.com to [url]www.domain.com.I[/url] found may people mentioned about Rewrite Rule as shown below in .htaccess. I could not find .htaccess file in my apache. There is httpd.config file. How to force domain to display [url]www.domain.com?[/url] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC] RewriteRule ^(.*)$ …

Member Avatar for pritaeas
0
154
Member Avatar for khess

A new version (9.0) of [URL="http://www.postgresql.org"]PostgreSQL[/URL] is in beta and ready for public testing. If version 9.0 lives up to its proposed [URL="http://www.postgresql.org/about/featurematrix"]feature list[/URL], then it is serious competition for MySQL. PostgreSQL proponents have long suggested that PostgreSQL has always enjoyed superiority over MySQL. I beg to differ but that …

Member Avatar for evanx
0
1K
Member Avatar for bulletson

I'm testing lucene to write an application. In this testing, I use Tika to extract documents. When I use Tika, I meet this errors. Please explain me. Errors are as follow. [CODE]Exception in thread "main" org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@7541f8 at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:122) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:101) at touchLucene.SuckClass.getDocument(SuckClass.java:79) at touchLucene.SuckClass.indexFile(SuckClass.java:117) at touchLucene.SuckClass.index(SuckClass.java:62) …

Member Avatar for bulletson
0
668
Member Avatar for k90tour2

Hi. I've three websites on a VPS Server running Apache 2. Each website has been successfully uploading files until now. None of them can upload a pdf file but has no problem with other file types that I allow, such as jpeg. If I examine the $_FILES array, when uploading …

Member Avatar for cereal
0
166
Member Avatar for mixplates
Member Avatar for cisumma

Hello all. I have never updated a single column in a specific record. I am using Apache derby embedded database. I have used the update prepared statement to up date a single field with the String value but it updates all the like of every record. How can I update …

Member Avatar for cisumma
0
141
Member Avatar for brainfo

Am trying to create a mail funciton from php. It showing error like [CODE]Mail() [Function.mail]: Failed To Connect To Mailserver At "localhost" Port 25, Verify Your "smtp" And "smtp_Port" Setting In Php.ini Or Use Ini_Set()[/CODE] i cheked my php.ini file also in directory C:\wamp\bin\apache\Apache2.2.17\bin\php.ini. I found [CODE] SMTP = localhost …

Member Avatar for pritaeas
0
17K
Member Avatar for vishal18

Hello to All, I want to use basic jasper report utility.... But facing error as mentioned below, please help me.....I'm beginer of JReport [CODE] import java.io.File; import java.util.HashMap; import net.sf.jasperreports.engine.JRException; import net.sf.jasperreports.engine.JasperCompileManager; import net.sf.jasperreports.engine.JasperFillManager; import net.sf.jasperreports.engine.JasperPrint; import net.sf.jasperreports.engine.JasperReport; import net.sf.jasperreports.engine.*; import net.sf.jasperreports.engine.util.JRLoader; import net.sf.jasperreports.engine.util.JRSaver; import net.sf.jasperreports.engine.xml.*; import net.sf.jasperreports.engine.design.JasperDesign; import net.sf.jasperreports.engine.export.JRPdfExporter; …

Member Avatar for vishal18
0
10K
Member Avatar for vectro

I have a block of JavaScript code that is designed to be embedded into any web page. It displays a list of items from a database. In the .js file is actually a lot of PHP code within JavaScript. The problem: The cut-n-paste widget does not actually show up. It's …

Member Avatar for vectro
0
226
Member Avatar for tatianna21

Hi, I would like to setup a htaccess for my dating site, where only US and UK IP ranges would be allowed, as well as my own IP, which is from EU. All other countries and proxies have to be blocked. I've searched on the net, but found nothing conclusive, …

Member Avatar for cereal
0
51
Member Avatar for jacksantho

Hi, I need to change [B][url]http://localhost[/url] to [url]https://localhost[/url][/B] 1. I am working on the Apache(Xampp). 2. Operation System -> Windows Machine. 3. Am having [CODE]"DIGITAL CERTIFICATE"[/CODE] (license one - Am not using a self signed certificate) 4. I don't know how to configure this "DIGITAL CERTIFICATE" in my Apache Web …

0
47
Member Avatar for jacksantho

Hi, In my server, just i have installed XAMPP with the PHP version 5.3.1 and the apache version Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 . Am having a website, its run using http protocol : [B]http:[/B]//www.example.com I wants to make it to [B]https:[/B]//www.example.com I don't how to complete this …

Member Avatar for Buppy
0
117
Member Avatar for fuggles

I am setting up a samba server. When I place the folders that Samba will use inside of the /tmp folder, everything works fine. However, when I try to use a directory that I created, it will not let me access it from another computer. I have given public permissions …

Member Avatar for manojsamtani
0
269
Member Avatar for Midgard

Hi- I'm trying to figure out how to remove a subdomain from a URL in htaccess, but only if there is a path after the domain. Examples: [url]http://www.subdomain.mysite.com/[/url] - OK [url]http://subdomain.mysite.com/[/url] - OK [url]http://www.subdomain.mysite.com/folder1/index.php[/url] - becomes: [url]http://www.mysite.com/folder1/index.php[/url] [url]http://subdomain.mysite.com/folder1/index.php[/url] - becomes: [url]http://mysite.com/folder1/index.php[/url] Any clues? Many thnx in advance, -Midgard

Member Avatar for manojsamtani
0
255
Member Avatar for valipour

Hi! i Want to deploy a server for hosting my web pages please help what type and version of OS? And WHM/hosting manger? what do you think about CentOS And Kloxo (lxcenter.org) and who i can have best SecurityØŸ

Member Avatar for manojsamtani
0
226
Member Avatar for dean8710

Can someone share the use of .htaccess and the sample of the code.. Is this .htaccess really usefull? :?:

Member Avatar for dean8710
0
345
Member Avatar for astorum

Ok i got a problem, i want the domain directory default folder to have index2.php as default page, but i DO HAVE also index.php. so when i even visit mysite.com/index.php it only shows mysite.com/index2.php, enven entering it explicitlly this is my rule DirectoryIndex index2.php index.php (I have a reason to …

0
118
Member Avatar for sudarshansirsat

Note: error is comming @ line: 59 This is the source code where i m getting nullpointer exception , I am unable to know where exactly this is not getting value. this code is working at another machine but not on my machine though i compiled it from machine on …

Member Avatar for sudarshansirsat
0
377
Member Avatar for th3b3n

the following code is used to get the contents of an excel document and pint it to console - will eventually filter and write a new excel file, but that will come later. [CODE]/** * */ import java.io.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.swing.*; import java.awt.*; import java.awt.event.*; …

Member Avatar for th3b3n
0
209
Member Avatar for Mosco

Ok i am running an apache server , on my window;s xp. For some reason i when i make a .htaccess file and put it into my www - dir its doesnt promt for a password or anything.! This is what i have for my .htaccess file AuthUserFile d:/www/.htpasswd AuthType …

Member Avatar for isouza
0
453
Member Avatar for fmatin

Hello! I just made a LAMP server out of an old computer, Ubuntu 10.04. Everything is set up properly, or so I thought. Whenever I upload a file to the "public_html" folder via ftp, the permissions are reset so that it says "Forbidden" when I try to access it. Then …

0
133
Member Avatar for jtt89

I want to set up LAMP on Virtual Box on Windows7. I am wondering if it is possible to (regular cable modem from ISP connected to desktop through ethernet port, dynamic IP) 1) Connect from Windows7 to Linux (Apache, MySQL-server, etc...) 2) Connect from Linux to the Internet 3) Connect …

Member Avatar for jtt89
0
130
Member Avatar for KSBeyaz

Hey guys i m trying to make hangman game as java application here is a simple run how it should be. [url]http://e.atilim.edu.tr/mod/resource/view.php?id=5240[/url] i m trying to put JLabels in order when player click correct buttons. firstly i added JFrames at first then i did setEnabled(false) them after button is clicked …

Member Avatar for KSBeyaz
0
244
Member Avatar for anjibman

Hi All, I am trying to display the helpful message to the user when error occur. a) I have exception catching in Java as follow [CODE] AgencyDAO a = new AgencyDAO(); try { a.updateAgency(agencyId, newAgencyCode, newAgencyName); } catch (DAORuntimeException e) { String message = "My Custom message"; request.setAttribute("GROUPING_EXCEPTION", new Exception(message, …

Member Avatar for Airshow
0
2K

The End.