Finding Absolute Path To Script On Linux System
i need to find the absolute path to a folder (/home/httpd/ etc....) on a linux system. is ther a script that i can uses that will tell me the absolute path to it. then i can chnge to to the folder.
View Replies
ADVERTISEMENT
I am trying to create a log of certain events on the website by writing them
to a text file. The logging code is in an "included" file that is inserted
into the pages that need to be monitored. Currently, the target text file is
just specified in the FSO MapPath as "thelog.txt", so it writes the log to a
text file within the same folder as the web page.
The problem is that I don't want to grant browsers Write access to my pages
folder, so I need to have a separate directory to hold the log text file
that browsers can have Write access to. The web site is hosted on a shared
server that I do not have direct access to. In the past, occasionally an
error has popped up that states the exact location, but I can not get that
to repeat. I know it is something like "D:customersmyuseridwww"
How can I find out the actual location on the server so I can use an
absolute path to write all the logs to one file in one location?
View Replies
View Related
Why it is that to saVE a file an absolute path is required and to read a file or pic an relative path is required.can any one ellaborate it and also diff between relative and absolute path
View Replies
View Related
What are the pro's and con's of both methods?
Should I use:
<img src="../images/new_images/spacer_tenpix.gif" width="10" height="10">
or
<img src="http://www.keomed.com/images/new_images/spacer_tenpix.gif" width="10" height="10">
View Replies
View Related
I'm programming in the file
<web root>myappmypage.asp
How would I print out "myapp" without hard-coding the value of "myapp"?
View Replies
View Related
I have a web project that has multiple directories. Some of the files in
different directories use the same include files. The problem is that these
include files also reference an image folder. I am trying to create an
absolute reference to these images so I don't have to make the same include
for different directories. What is the best way to do this?
View Replies
View Related
Is there something similar to PHP's php_info command to tell me all about the server? I need to find the actual path where the site resides.
View Replies
View Related
Is there an easy way to find out the path of the current asp page? When looking at http://localhost/images/listing.asp I want to be able to extract "http://localhost/"
View Replies
View Related
Error at Map Path System.Mappath()
Please tell me a walk around for system.mappath("../database/data.mdb")
my files are already configured with this path
now windows 2003 server IIS6.0 is not allowing this.
View Replies
View Related
I have a virtual path setup in order to give my web server access
to a file on my app server. I am using the file system object to check
for the existance of the file and if it exists, it has to validate the
file date.
The problem is I can't seem to find the file. I can successfully check
for the existance of a file on the web server, but once I enter the
virtual path it can't find anything. All three of these calls return
false...
fso.FileExists("http://server/localfolder/virtualfolder/test.txt")
fso.FileExists("/localfolder/virtualfolder/test.txt")
fso.FileExists(Server.MapPath("/localfolder/virtualfolder/test.txt"))
However these two calls work, so I assume I am referencing the file
correctly...
Response.Redirect "http://server/localfolder/virtualfolder/test.txt"
Response.Redirect "/localfolder/virtualfolder/test.txt"
Am I doing something wrong here? The virtual path is setup with an id
that has full access to the folder.
View Replies
View Related
I am using position feature for images...although its placing the image on the HTML file using the top left corner of the image. Anybody know how to make it use the center of the image?
<img src="image.gif" style="position: absolute; left: 54; top: 34">
View Replies
View Related
I recently stumbled across a great company with wonderful products for easy integration within ASP pages. I've even created a community forum to support the products on my site.
View Replies
View Related
I got a problem when I uploaded a file with the input tag of type file "<input type=file.." using the FileSystemObject where The page not opens and there is no any respond, but I tried to see if the folder that is already exists xan I see by that object I discovered that it is not exist.
The main problem I put my files in a folder that I dont know its absolute path , just a relative that always not exist.
View Replies
View Related
I am currently developing a final year project which is a web based
tracking system tracking exam questions. I am using IIS as the
server, MS access for the database, and ASP with VBScript for the
scripting side of things.
One of the things I want to do would be to e-mail a user/moderator
whenever a exam question is edited/completed/updated. does anyone have
any previous expierence in this? i don't even know where to start.
View Replies
View Related
What is the asp code variable for System Date and System Time? Are they built-in system variables, or is there some code involved to return the values?
View Replies
View Related
I have problem with physical path & virtual path on the server.
<!--#include virtual="country/inc.bottom.asp"-->
In this script it is working.
In all the file i have <!--#include file="../ar-inc.top.asp"--> this script.
I have about 10,000 files in the website.
View Replies
View Related
Is ASP compatible with linux. Which is the best scripting language which can be used on all servers.
In case of Linux which web server to be used for ASP.
View Replies
View Related
To make ASP run under Linux, PHP script files are saved as ASP extensions and are redirected to the PHP interpreter. So it looks like the server serves ASP files, but these are actually PHP scripts.
View Replies
View Related
What is the best way of getting ASP running on Red Hat, free?
View Replies
View Related
Can ASP apps be run in Linux (I am using Mandriva 2007 Spring)? If so, which server has to be installed to make ASP apps run in a web browser in the same way as how ASP apps run in Windows?
As far as my knowledge goes, Linux does not support IIS; what about Apache? Will it be appropriate? Or are there any other web servers (preferably free ones like IIS) to make ASP apps run in Linux?
View Replies
View Related
I know this is not ideal but i have a client with a simple asp site and i would like to move them to our linux box during a transition but they use an access database. Can someone tell me how i can get the connection to work under linux? Current Code: Code:
Dim MM_connPang_STRING
'MM_connPang_STRING = "dsn=pangDSN"
MM_connPang_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:clientdatabasepangDB.mdb"
View Replies
View Related
how can i run asp on linux either sun version / or perl apache version?
View Replies
View Related
Is it possible to integrate ASP.Net on a Linux server? I heard there is some software in development for this but I cannot remember the name. I know Novelle is the one working on it.
View Replies
View Related
Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting
ASP on linux.
View Replies
View Related
Is there any way to get ASP to work on a Linux box with apache and ensim?
View Replies
View Related
Can i use web developer asp to create web sit for linux serves . if yes how?
View Replies
View Related
I've just taken a client who has a membership-based site served as aspx. Yhe relationship with his current host/developer is going south and I need to switch to new hosts and find someone to handle the backend stuff.
Much of the site appears to be poorly structured - needlessly complex and yet lacking certain features. From my own limited knowledge of what I've seen of it, I'd have suggested using a drupal and a bunch of php... but I know little and may be talking out of my butt.
I'm more comfortable with linux/apache... and I'm guessing that's incompat with the current work - or is it? The database is sql so is it viable to migrate away from aspx? Etc?
View Replies
View Related
Here is a simple test class Ive built to try and find out, why another class I built (that works fine on my testing server running iis on xp) throws up an error on the live server running red hat 8.3 on linux, Im new to asp and only just now found out the live server is a linux box. Code:
View Replies
View Related
If my server runs on Linux and I want to use an ASP script and files on it. When I upload the files, wehn I go to the file directory and click on the file it asks me the same as what it asks me if I try to open it at home.How can I overcome this?
View Replies
View Related
I want an answer by tomorrow with examples and reference URLS if we can do this.There is a program written in ASP and the databse is MSSQL (Microsoft) hosted in Windows platform.
But they want this databse and ASP Program host on a UNLIX/LINUX server and use the same ASP program. Can thy do it/ and how?
View Replies
View Related
I'm working on a proof of concept for ASP. I've already done it using Windows 2k server, IIS, using open source [no initial cost involved]. I'm looking to doing the same using a linux box. Does anyone know if this can be done without buying any additional tools?
View Replies
View Related
I need to install Comersus Cart (http://www.comersus.com) and try out to see how it works on Linux. The document says that it works on Linux as well, as long as ASP is enabled.
I avoided using ASP on Linux. How well does it perform really? And does anyone have experience running Comersus on Linux? How does it perform? Did you have any issue?
View Replies
View Related
I had done a website that perfectly works in windows platform. But one of our client said that he cannot work the same in linux platform.
I am submitting my form in the onchange function of combo box. He cannot submit the form when he changes the value of combo box. But it perfectly works in Windows Platform. and the site is being viewed by lot of people and every day there will be reservations.
View Replies
View Related