IIS 6 Logs M.I.A - iis-6

I'm trying to find my IIS log files and I seem to be having a problem.
First off I've gone into IIS and right clicked on the site in question and selected properties...
Under the Web Site tab I have the Enable Logging check box checked.
The active log format is set to W3C Extended Log File Format.
To get where the log files should be being stored I click the Properties button next to the log format drop down list. It has this path as C:\WINDOWS\system32\LogFiles. Then below that input box it has the log file name as W3SVC1919798527\exyymmdd.log
The problem is that the folder W3SVC1919798527 doesn't exist in the C:\WINDOWS\system32\LogFiles folder... nor does it appear to exist on the PC anywhere... What am I doing wrong? Where can I find the log files for this site? Or am I totally misunderstanding what a log file is and where to find it?
Thanks

Ok, I had to check the Log Visits check box on the Home Directory tab when viewing the properties dialog box of the web site in IIS.

Is logging enabled for the site?
How about searching for anything that ends with .log? Or has w3svc in it?

Related

Block the user from viewing files in the directory via the url

I'm pretty new in developing for VB.NET. I have a web application and I want to block the access to the files in a directory.
For example:
If the user access the following page: application.com/example/page.aspx
If the user remove the page name and type "application.com/example/", he will see all the files inside the folder "example".
I want to block this possibility and, when a user try to access the files, redirect to an error page.
I know how to solve this in PHP through htaccess, but I have never done it by VB.NET. Any help?
If you are using IIS then
Go to your sites-->Desired Site
From Features Views Select Directory Browsing disabled.
web.config or .htaccess will do.
Remember it is a security risk to have directories open for anyone to see.

After uploading MVC website to the folder httpdocs from FIlezilla and browsing it the showing Internal Server error

I am getting 500 Internal server.I have uploaded files to the server using Filezila .and when i am browsing it.Its showing internal server error.
Whats is the permission of your files and directory's which you have uploaded in your account. Also check your .htaccess file code.
There may be several reasons , let me list few which i think might be the reason.
1) Check the folder and file permissions on the hosting . Folder permission should be 755 and the file permission should be 644 by default to work on
2) If there is any .htaccess file try to remove that file and check again reloading (Note : if you are using cPanel try selecting show hidden files in file manager to view the .htaccess file )
3) whether your db is been properly configured in the configuration file of your MVC site ( however if it is the reason the page will will throw some db connectivity error . just in case if it is i am asking you to check )
If that helps, update me . If not, Kindly post the error log which can be taken in cPanel or if you are using different solution ask your hosting provider on how to view error log.
The best and universal approach if you have root access on the server would be to look for more information in the web server log:
/usr/local/apache/logs/error_log
If you do not have root access, you can check the Error log in cPanel -> Errors, it will provide you with more details on what the problem is.

Redirect forum address phpBB3

I've created a forum using phpBB3,
The address I got is : http://<FORUM NAME>.com/phpBB3
I would like to change it to http://<FORUM NAME>.com (without the phpBB3)
Is it possible to create another forum addressed to the second URL I mentioned, that uses the same SQL database as the first forum?
The /phpbb3 part of the URL refers to the directory on the server that your forum is installed in. If you move all of the folders and files out of the phpbb3 directory into your websites root directory (usually either htdocs or public_html) then the URL will then become http://<FORUM NAME>.com This is best done via FTP and not your hosts file manager to help prevent corruption of any files.
Only do this if you don't already have pages at http://<FORUM_NAME>.com otherwise you will overwrite anything already there that share any file names.
If you do move everything, once finished log into your phpBB admin control panel and under 'Server configuration -> Server settings' make sure 'Force server URL settings' is set to 'No' and all the internal links on your board will adapt themselves to the new URL.
IMPORTANT! Before you do ANYTHING make sure you download a backup of the files and the database, then if anything goes wrong you can easily put things back again.

Issue with importing a database into phpMyAdmin

I am learning how to use SQL, I set up a localhost, in the course of that journey, I was confronted to the issue of importing sql files into phpMyAdmin, I did the right click on config.inc.php and clicked on the Notepad++ that I previously installed, I typed in there the following code: $cfg['UploadDir']='c:\Files';, of course I created on the hard drive C the Files directory. Now that I came back into phpMyAdmin, clicked on my database, clicked on import, this is what I got as message:
The directory you set for upload work cannot be reached.
Can anyone help me here with this issue?
Your webserver probably doesn't have permission to read 'c:\Files' thus it is not a valid directory. Technically you would say this is out of the web root.
I suggest you set the upload directory to a subdirectory of your web server's root directory (or in the PHPMyAdmin web directory). Then if for your own ease of use you want it to be located at 'c:\Files' you can create a shortcut from the web root upload directory whatever you name it, and place the shortcut in 'c:' and name it 'Files'.

Cpanel File manager Extract button disable

Today i found extraction of zip file seems disabled in cpanel File Manager.Yesterday it was working fine and i had extracted one file .I had uploaded a big file of size 472MB.but then uploading got cancelled and From then I am facing the problem.
What is the reason behind the strange behaviour of cpanel file manager.?
And what is the solution to this problem..?
I really want the extract button enabled because Upload on server using Filezilla is very time consuming..
By default the icon is grayed out if no file is selected, make sure that's not the case.
If it's selected and it's like that then you might consider checking with your hosting provider, if you're the administrator of the server then go ahead and run
/scripts/upcp
You just need to select the file which need to be extracted. Extract button will automatically appear if you select any zip file from your directory.